随笔 - 41  文章 - 0  评论 - 3  阅读 - 77444

遇到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   就让往事都随风  阅读(48739)  评论(0编辑  收藏  举报
< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

点击右上角即可分享
微信分享提示