在npm install安装东西的时候报的这个错误,通过百度首先运行下面的的命令: npm cache clean --force 1 即可解决pm install出现”Unexpected end of JSON input while parsing near”错误。