[英]Unable to use 'npm install' on Windows 10 (error code ECONNRESET)
I have recently installed latest version of nodejs (6.3.1) with npm version 3.10.3. 我最近安装了npm版本3.10.3的最新版本的nodejs(6.3.1)。 I am not able to install any node package using npm install command.
我无法使用npm install命令安装任何节点软件包。 Initially I thought it might be related with my office network firewall settings, but I am getting similar issue on my home network.
最初,我认为这可能与我的办公室网络防火墙设置有关,但是我在家庭网络上也遇到了类似的问题。 Please see attached image for error details.
有关错误的详细信息,请参见附件图像。
Appreciate if someone can help me to find a resolution. 感谢有人可以帮助我找到解决方案。
npm config had bad network settings. npm config的网络设置错误。 So although I had disabled the main proxy / firewall etc. all npm commands were always going through that bad proxy.
因此,尽管我已禁用了主代理/防火墙等,所有npm命令始终通过该错误的代理。 Managed to remove those bad entries finally, phew!
终于设法删除了这些不良条目,! :)
:)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.