npm ERR! As of npm@5, the npm cache self-heals from corruption issues and data extracted from the cache is guaranteed to be valid. If you want to make sure everything is consistent, use 'npm cache verify' instead. npm ERR! npm ERR! If you're sure you want to delete the entire cache, rerun this command with --force.
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\janak\AppData\Roaming\npm-cache_logs\2017-08-11T04_38_31_995Z-debug.log
最佳答案
使用 --force
运行命令:
npm cache clean --force
基于 npm documentation :
it should never be necessary to clear the cache for any reason other than reclaiming disk space, thus why clean now requires --force to run.
关于node.js - 'npm cache clean' 不作为 IDE 工作 Angular VS 代码,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45627827/