npm install出现"Unexpected end of JSON input while parsing near"错误解决方法 今天在安装新的vue环境的时候报错了,错误为"Unexpected end of JSON input while parsing near........." 此时,运行代码: npm cache clean --force 问题就可以解决