遇到npm报错read ECONNRESET怎么办

遇到npm 像弱智一样报错怎么办
read ECONNRESET
This is most likely not a problem with npm itselft
'proxy' config is set properly

这种情况一般是我们使用了ie代理服务器
在命令行下运行以下命令

npm config set proxy=http://10.69.4.40:808 ##根据你的实际情况修改ip和端口

大功告成!!

posted on 2018-04-09 15:25  就让往事都随风  阅读(48228)  评论(0编辑  收藏  举报