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



你可能感兴趣的:(问题及解决办法,npm,ERR)