NPM Unexpected end of JSON input while parsing near

npm install 报错:

1.NPM Unexpected end of JSON input while parsing near
2.npm ERR! A complete log of this run can be found in:

解决办法:

first:

npm install --registry=https://registry.npm.taobao.org --loglevel=silly
then:

npm cache clean --force
 

©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页