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
报错内容:
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