Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

getaddrinfo EAI_AGAIN registry.npmjs.org:80

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

versions

node: 8.9.3
npm: 5.5.1

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

Thank you for your attention

like image 205
Ivan Perez Abreu Avatar asked Dec 18 '22 01:12

Ivan Perez Abreu


1 Answers

npm config rm proxy
npm config rm https-proxy

Use the above commands and restart the system. It worked for me.

like image 59
Pavan Avatar answered Dec 20 '22 18:12

Pavan