vue-cli4.* npm install 报错

49 阅读1分钟

vue-cli4.* npm install 报错

问题描述: Unexpected end of JSON input while parsing near '…"

解决办法:

(1)npm install --registry=registry.npm.taobao.org --loglevel=silly (2) npm cache clean --force (3) npm install 在这里插入图片描述