Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Unable to install npm packages #4423

ckakela opened this Issue · 4 comments

3 participants


I have installed node.js v0.10.24,
but while installing any package using npm install

npm ERR! Error: getaddrinfo EAGAIN
npm ERR! at errnoException (dns.js:37:11)
npm ERR! at Object.onanswer as oncomplete
npm ERR! If you need help, you may report this log at:
npm ERR!
npm ERR! or email it to:
npm ERR!

error comes on the command line, I am trying to resolve but no success.


I set the .npmrc file with the proxy settings as

registry =
proxy =
strict-ssl = false
https-proxy = http://userid:Password@ip:port

but it doesn't work
and some proxy error is comming as

npm ERR! Error: connect ECONNREFUSED
npm ERR! at errnoException (net.js:901:11)
npm ERR! at Object.afterConnect as oncomplete
npm ERR! { [Error: connect ECONNREFUSED]
npm ERR! code: 'ECONNREFUSED',
npm ERR! errno: 'ECONNREFUSED',
npm ERR! syscall: 'connect' }
npm ERR!
npm ERR! If you are behind a proxy, please make sure that the
npm ERR! 'proxy' config is set properly. See: 'npm help config'


@ckakela Did you sort this out? Can this be closed?


no it was not network/dns problem, the problem was due to the proxy setting error as ssl was set to false so the proxy was not its working fine

Thanks for ur help and support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.