npm install 报错:npm
npm ERR! Unexpected end of JSON input while parsing near '..."^2.8.14"},"_hasShrin'bash
npm ERR! A complete log of this run can be found in:this
...code
打开终端 命令:开发
第一步 , 设置taobao registryinput
npm install --registry=https://registry.npm.taobao.org --loglevel=silly
第二步 , 清楚没用的文件class
npm cache clean --force
就能够npm install 开发项目了终端
--------------------------------------------------------项目