vue install 报错 npm ERR! Unexpected end of JSON input while parsing near '...//registry.npmjs.org
Posted 红色心情
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了vue install 报错 npm ERR! Unexpected end of JSON input while parsing near '...//registry.npmjs.org相关的知识,希望对你有一定的参考价值。
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
以上是关于vue install 报错 npm ERR! Unexpected end of JSON input while parsing near '...//registry.npmjs.org的主要内容,如果未能解决你的问题,请参考以下文章