isaacs/npm — Issue #1854: getaddrinfo enoent issue on ubuntu 11.10
Author: debidatta
Created: 2011-12-08 17:20:12+00:00
State: open

I installed the latest version of node(0.6.5) from source which also installed npm(1.1.0-alpha6) and proceeded to download socket.io. I work behind a proxy. The following error is showing up:

verbose config file /home/debi/.npmrc
verbose config file /usr/local/etc/npmrc
verbose config file /usr/local/lib/node_modules/npm/npmrc
verbose into /home/debi [ 'socket.io' ]
verbose cache add socket.io
verbose cache add [ 'socket.io', null ]
silly cache add: name, spec, args [ undefined, 'socket.io', [ 'socket.io', null ] ]
verbose parsed url { pathname: 'socket.io', path: 'socket.io', href: 'socket.io' }
info addNamed [ 'socket.io', '' ]
verbose addNamed [ null, '' ]
verbose GET socket.io
verbose raw, before any munging socket.io
verbose url resolving [ 'http://registry.npmjs.org/', './socket.io' ]
verbose url resolved http://registry.npmjs.org/socket.io
ERR! Error: getaddrinfo ENOENT
ERR! at errnoException (dns.js:31:11)
ERR! at Object.onanswer [as oncomplete] (dns.js:140:16)
ERR! Report this *entire* log at:
ERR!
ERR! or email it to:
ERR!
ERR!
ERR! System Linux 3.0.0-12-generic
ERR! command "node" "/usr/local/bin/npm" "install" "socket.io"
ERR! cwd /home/debi
ERR! node -v v0.6.5
ERR! npm -v 1.1.0-alpha-6
ERR! syscall getaddrinfo
ERR! code ENOTFOUND
ERR! message getaddrinfo ENOENT
verbose exit [ 1, true ]