getaddrinfo EAI_AGAIN registry.npmjs.org:80 [英] getaddrinfo EAI_AGAIN registry.npmjs.org:80
本文介绍了getaddrinfo EAI_AGAIN registry.npmjs.org:80的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,我正在尝试在 npm 中发布我的 angular 库,但是当我登录时,我得到了这个:
Hi guys I'm trying to publish my angular library in npm, but when I login I get this:
npm ERR! code EAI_AGAIN
npm ERR! errno EAI_AGAIN
npm ERR! request to http://registry.npmjs.org/-/user/org.couchdb.user:belzee10 failed, reason: getaddrinfo EAI_AGAIN registry.npmjs.org:80
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\belzee\AppData\Roaming\npm-cache\_logs\2018-01-08T16_03_35_050Z-debug.log
版本
node: 8.9.3
npm: 5.5.1
我支持经过身份验证的代理,并且我已经配置了:代理和 https-proxy
I am behind an authenticated proxy and I have already configured: proxy and https-proxy
npm config set proxy http: // Username: Pa55w0rd @ proxyhostname: port
npm config set https-proxy http: // Username: Pa55w0rd @ proxyhostname: port
感谢您的关注
推荐答案
npm config rm proxy
npm config rm https-proxy
使用上述命令并重新启动系统.它对我有用.
Use the above commands and restart the system. It worked for me.
这篇关于getaddrinfo EAI_AGAIN registry.npmjs.org:80的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文