C:\Users\yunling\workspace\Sample-java-master>npm cache clean -—force
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 everythi
ng 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! F:\Appium\node-cache_logs\2019-05-15T02_02_57_289Z-debug.log

使用 npm cache clean --force 也是一样,如何解决


↙↙↙阅读原文可查看相关链接,并与作者交流