执行npm install下载依赖报错:
npm ERR! Unexpected end of JSON input while parsing near '...,"dist":{"shasum":"af'
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\admin\AppData\Roaming\npm-cache\_logs\2019-08-03T06_21_13_023Z-debug.log
解决办法win+r 输入cmd 执行npm cache clean --force命令提示: npm WARN using --force I sure hope you know what you are doing.说明操作成功.
再次执行npm install,下载依赖成功,问题解决.感谢两位大佬经验,附上博文连接: