Error installing subway #2342

Closed
imaginationac opened this Issue Apr 4, 2012 · 2 comments

Comments

Projects
None yet
2 participants
dorian@ubuntu:~/projects/subway$ npm install
npm http GET https://registry.npmjs.org/socket.io
npm http GET https://registry.npmjs.org/express/2.5.2
npm http GET https://registry.npmjs.org/jade/0.19.0
npm http GET https://registry.npmjs.org/connect-assets/2.1.6
npm http GET https://registry.npmjs.org/mongoose/2.5.7
npm http GET https://registry.npmjs.org/bcrypt/0.5.0
npm http 304 https://registry.npmjs.org/connect-assets/2.1.6
npm http 304 https://registry.npmjs.org/bcrypt/0.5.0
npm http 304 https://registry.npmjs.org/mongoose/2.5.7

npm ERR! Error: getaddrinfo ENOENT
npm ERR!     at errnoException (dns.js:31:11)
npm ERR!     at Object.onanswer [as oncomplete] (dns.js:140:16)
npm ERR! 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>
npm ERR!
npm ERR! System Linux 3.0.0-17-generic
npm ERR! command "node" "/home/dorian/local/bin/npm" "install"
npm ERR! cwd /home/dorian/projects/subway
npm ERR! node -v v0.6.14
npm ERR! npm -v 1.1.15
npm ERR! syscall getaddrinfo
npm ERR! code ENOTFOUND
npm ERR! message getaddrinfo ENOENT
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /home/dorian/projects/subway/npm-debug.log
npm not ok

Tried again, different output. Not sure what's changed.

dorian@ubuntu:~/projects/subway$ npm install
npm http GET https://registry.npmjs.org/express/2.5.2
npm http GET https://registry.npmjs.org/jade/0.19.0
npm http GET https://registry.npmjs.org/connect-assets/2.1.6
npm http GET https://registry.npmjs.org/mongoose/2.5.7
npm http GET https://registry.npmjs.org/bcrypt/0.5.0
npm http GET https://registry.npmjs.org/socket.io
npm http 304 https://registry.npmjs.org/express/2.5.2
npm http 304 https://registry.npmjs.org/socket.io
npm http 304 https://registry.npmjs.org/bcrypt/0.5.0

> bcrypt@0.5.0 install /home/dorian/projects/subway/node_modules/bcrypt
> make build

rm -f bcrypt_lib.node
rm -Rf build
node-waf configure
npm http GET https://registry.npmjs.org/connect
npm http GET https://registry.npmjs.org/mime
npm http GET https://registry.npmjs.org/qs
npm http GET https://registry.npmjs.org/mkdirp/0.0.7
npm http GET https://registry.npmjs.org/socket.io-client/0.9.5
npm http GET https://registry.npmjs.org/policyfile/0.0.4
npm http GET https://registry.npmjs.org/redis/0.6.7
Checking for program g++ or c++          : /usr/bin/g++
npm http GET https://registry.npmjs.org/snockets/1.3.3
npm http GET https://registry.npmjs.org/underscore/1.1.7
npm http GET https://registry.npmjs.org/connect-file-cache/0.2.4
npm http GET https://registry.npmjs.org/mime/1.2.2
npm http GET https://registry.npmjs.org/commander
npm http GET https://registry.npmjs.org/mkdirp
npm http 200 https://registry.npmjs.org/mime
npm http GET https://registry.npmjs.org/mime/-/mime-1.2.5.tgz
npm http 200 https://registry.npmjs.org/connect
Checking for program cpp                 : /usr/bin/cpp
Checking for program ar                  : /usr/bin/ar
Checking for program ranlib              : /usr/bin/ranlib
Checking for g++                         : ok
Checking for program gcc or cc           : /usr/bin/gcc
npm http 200 https://registry.npmjs.org/socket.io-client/0.9.5
npm http 200 https://registry.npmjs.org/policyfile/0.0.4
npm http 200 https://registry.npmjs.org/redis/0.6.7
npm http GET https://registry.npmjs.org/connect/-/connect-1.8.6.tgz
npm http GET https://registry.npmjs.org/socket.io-client/-/socket.io-client-0.9.5.tgz
npm http GET https://registry.npmjs.org/policyfile/-/policyfile-0.0.4.tgz
npm http GET https://registry.npmjs.org/redis/-/redis-0.6.7.tgz
npm http 200 https://registry.npmjs.org/underscore/1.1.7
npm http GET https://registry.npmjs.org/underscore/-/underscore-1.1.7.tgz
Checking for program ar                  : npm http 200 https://registry.npmjs.org/snockets/1.3.3
/usr/bin/ar
Checking for program ranlib              : /usr/bin/ranlib
npm http GET https://registry.npmjs.org/snockets/-/snockets-1.3.3.tgz
Checking for gcc                         : ok
npm http 200 https://registry.npmjs.org/connect-file-cache/0.2.4
Checking for node path                   : not found
Checking for node prefix                 : ok /home/dorian/local
Checking for function RAND_bytes         : npm http GET https://registry.npmjs.org/connect-file-cache/-/connect-file-cache-0.2.4.tgz
npm http 200 https://registry.npmjs.org/mime/1.2.2
npm http GET https://registry.npmjs.org/mime/-/mime-1.2.2.tgz
npm http 200 https://registry.npmjs.org/mkdirp
npm http 200 https://registry.npmjs.org/mime/-/mime-1.2.5.tgz
npm http 200 https://registry.npmjs.org/commander
npm http GET https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.1.tgz
npm http GET https://registry.npmjs.org/commander/-/commander-0.2.1.tgz
npm http 200 https://registry.npmjs.org/connect/-/connect-1.8.6.tgz
npm http 200 https://registry.npmjs.org/socket.io-client/-/socket.io-client-0.9.5.tgz
npm http 200 https://registry.npmjs.org/policyfile/-/policyfile-0.0.4.tgz
npm http 200 https://registry.npmjs.org/redis/-/redis-0.6.7.tgz
npm http 200 https://registry.npmjs.org/underscore/-/underscore-1.1.7.tgz
npm http GET https://registry.npmjs.org/hooks/0.1.9
npm http GET https://registry.npmjs.org/mongodb/0.9.7-3-5
npm http 200 https://registry.npmjs.org/snockets/-/snockets-1.3.3.tgz
npm http 200 https://registry.npmjs.org/connect-file-cache/-/connect-file-cache-0.2.4.tgz
npm http 200 https://registry.npmjs.org/mime/-/mime-1.2.2.tgz
npm http 200 https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.1.tgz
npm http 200 https://registry.npmjs.org/commander/-/commander-0.2.1.tgz
npm http 200 https://registry.npmjs.org/hooks/0.1.9
npm http GET https://registry.npmjs.org/hooks/-/hooks-0.1.9.tgz
npm http 200 https://registry.npmjs.org/mongodb/0.9.7-3-5
npm http GET https://registry.npmjs.org/mongodb/-/mongodb-0.9.7-3-5.tgz
not found
'configure' finished successfully (3.068s)
node-waf build
npm http 200 https://registry.npmjs.org/hooks/-/hooks-0.1.9.tgz
npm http 200 https://registry.npmjs.org/mongodb/-/mongodb-0.9.7-3-5.tgz
Waf: Entering directory `/home/dorian/projects/subway/node_modules/bcrypt/build'
[1/4] cxx: src/blowfish.cc -> build/Release/src/blowfish_1.o
npm http 200 https://registry.npmjs.org/mkdirp/0.0.7
npm http GET https://registry.npmjs.org/mkdirp/-/mkdirp-0.0.7.tgz
[2/4] cxx: src/bcrypt.cc -> build/Release/src/bcrypt_1.o
npm http 200 https://registry.npmjs.org/mkdirp/-/mkdirp-0.0.7.tgz
[3/4] cxx: src/bcrypt_node.cc -> build/Release/src/bcrypt_node_1.o

npm ERR! Error: getaddrinfo ENOENT
npm ERR!     at errnoException (dns.js:31:11)
npm ERR!     at Object.onanswer [as oncomplete] (dns.js:140:16)
npm ERR! 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>
npm ERR!
npm ERR! System Linux 3.0.0-17-generic
npm ERR! command "node" "/home/dorian/local/bin/npm" "install"
npm ERR! cwd /home/dorian/projects/subway
npm ERR! node -v v0.6.14
npm ERR! npm -v 1.1.15
npm ERR! syscall getaddrinfo
npm ERR! code ENOTFOUND
npm ERR! message getaddrinfo ENOENT
npm ERR! errno {}
npm WARN excluding symbolic link lib/socket.io-client.js -> io.js
[4/4] cxx_link: build/Release/src/blowfish_1.o build/Release/src/bcrypt_1.o build/Release/src/bcrypt_node_1.o -> build/Release/bcrypt_lib.node
Waf: Leaving directory `/home/dorian/projects/subway/node_modules/bcrypt/build'
'build' finished successfully (10.630s)
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /home/dorian/projects/subway/npm-debug.log
npm not ok
Contributor

luk- commented Mar 9, 2013

Network issue. Any proxying, filtering, or weird dns config that might mess with your traffic? maybe a corporate network or firewall?

luk- closed this Mar 9, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment