美文网首页
利用npm install cnpm 报错 E400

利用npm install cnpm 报错 E400

作者: 走停2015_iOS开发 | 来源:发表于2018-08-29 10:19 被阅读21次

1、执行:

npm config get proxy
npm config get https-proxy

2.如果返回值不为null,继续执行:

npm config set proxy null
npm config set https-proxy null

3、执行:

npm config set registry http://registry.cnpmjs.org/

参考文章:
https://blog.csdn.net/weng423811758/article/details/51537594?t=1497063589950

相关文章

网友评论

      本文标题:利用npm install cnpm 报错 E400

      本文链接:https://www.haomeiwen.com/subject/xbrhwftx.html