NPM Unexpected end of JSON input

2018-09-08  本文已影响0人  程序员同行者

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:

解决办法:
先执行

npm cache clean --force

在执行

npm install --registry=https://registry.npm.taobao.org
上一篇下一篇

猜你喜欢

热点阅读