npm ERR! Unexpected end of JSON input while parsing near '...{"node":">=4.2.3"},"_' 问题解决
使用npm install -g命令时报错的解决
最近在Ubuntu上安装了node.js和npm,但是使用npm install -g cnpm --registry=https://registry.npm.taobao.org 命令添加阿里云的npm时镜像时一直报如下错误:
npm ERR! Unexpected end of JSON input while parsing nea...
原创
2018-08-22 00:09:12 ·
3114 阅读 ·
0 评论