Unable to install npm packages #4423

Closed
ckakela opened this Issue Jan 6, 2014 · 4 comments

Comments

Projects
None yet
3 participants

ckakela commented Jan 6, 2014

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! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! npm-@googlegroups.com

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

Member

robertkowalski commented Jan 7, 2014

Seems like a network/dns problem, can you check your dns/network settings?

ckakela commented Jan 7, 2014

I set the .npmrc file with the proxy settings as

registry = http://registry.npmjs.org/
proxy = http://proxy.tcs.com:8080/
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'

Member

timoxley commented Jan 7, 2014

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

ckakela commented Jan 8, 2014

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 working.......................now 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