vue install 报错 npm ERR! Unexpected end of JSON input while parsing near '...//registry.npmjs.org/'解决方案

时间:2020-12-14 13:23:48   收藏:0   阅读:6

vue 刚拉下来的项目,

npm install时

出现error:npm ERR! Unexpected end of JSON input while parsing near ‘…//registry.npmjs.org/

技术图片

 

 

解决方案

npm cache clean --force  重启 cache

技术图片

 

 参考  https://blog.csdn.net/qq_33431368/article/details/84258402

 
评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!