利用npm install cnpm 报错 E400

2018-08-29  本文已影响21人  走停2015_iOS开发

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

上一篇 下一篇

猜你喜欢

热点阅读