npm install出现"Unexpected end of JSON input while parsing near"错误解决方法

  今天在安装新的vue环境的时候报错了,错误为"Unexpected end of JSON input while parsing near........."

  此时,运行代码:

1
npm cache clean --force

   问题就可以解决

posted @   代码是我蓝朋友  阅读(242)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示