Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Unable to install npm packages #4423

Closed
ckakela opened this Issue · 4 comments

3 participants

@ckakela

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.

@robertkowalski
Collaborator
@ckakela

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'

@timoxley
Collaborator

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

@ckakela

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
Something went wrong with that request. Please try again.