npm 安装vue开发环境时报错
npm install出现"Unexpected end of JSON input while parsing near"错误解决方法npm cache clean --force即可解决pm install出现”Unexpected end of JSON input while parsing near”错误。npm WARN deprecated socks@1.1.1
·
npm install出现"Unexpected end of JSON input while parsing near"错误解决方法
npm cache clean --force
即可解决pm install出现”Unexpected end of JSON input while parsing near”错误。
npm WARN deprecated socks@1.1.10: If using 2.x branch, please upgrade to at least 2.1.6 to avoid a serious bug with socket data flow and an import issue introduced in 2.1.0
解决办法1:降低版本
npm install npm@4.6.1 -g
解决办法2:更新npm
npm cache clean -f
npm install npm -g
更多推荐
已为社区贡献1条内容
所有评论(0)