错误如下:“Unexpected end of JSON input while parsing near···”
解决方法:
1.清理缓存: npm cache clean --force
2.执行命令:npm install --registry=https://registry.npm.taobao.org --loglevel=silly
错误如下:“Unexpected end of JSON input while parsing near···”
解决方法:
1.清理缓存: npm cache clean --force
2.执行命令:npm install --registry=https://registry.npm.taobao.org --loglevel=silly