Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install #1237

Closed
tjordanchat opened this issue May 17, 2013 · 1 comment
Closed

Can't install #1237

tjordanchat opened this issue May 17, 2013 · 1 comment

Comments

@tjordanchat
Copy link

Heard good things about socket.io but it won't even install.

$ sudo npm install socket.io
npm http GET https://registry.npmjs.org/debug
npm http GET https://registry.npmjs.org/engine.io/0.4.3
npm http GET https://registry.npmjs.org/socket.io-parser/1.0.2
npm http GET https://registry.npmjs.org/socket.io-client
npm http GET https://registry.npmjs.org/send
npm http GET https://registry.npmjs.org/redis/0.7.3
npm http 304 https://registry.npmjs.org/socket.io-parser/1.0.2
npm http 304 https://registry.npmjs.org/debug
npm http 304 https://registry.npmjs.org/engine.io/0.4.3
npm http 304 https://registry.npmjs.org/socket.io-client
npm http 304 https://registry.npmjs.org/send
npm ERR! git clone git://github.com/LearnBoost/socket.io-client Cloning into bare repository /home/git/.npm/_git-remotes/git-github.aaakk.us.kg-LearnBoost-socket-io-client-19bcd5cd...
npm ERR! git clone git://github.com/LearnBoost/socket.io-client
npm ERR! git clone git://github.com/LearnBoost/socket.io-client github.com[0: 204.232.175.90]: errno=Connection refused
npm ERR! git clone git://github.com/LearnBoost/socket.io-client fatal: unable to connect a socket (Connection refused)
npm ERR! Error: No compatible version found: socket.io-client@'LearnBoost/socket.io-client'
npm ERR! Valid install targets:
npm ERR! ["0.7.0","0.7.1","0.7.2","0.7.3","0.7.4","0.7.5","0.7.9","0.7.10","0.7.11","0.8.0","0.8.1","0.8.2","0.8.3","0.8.4","0.8.5","0.8.6","0.8.7","0.9.0","0.9.1","0.9.1-1","0.9.2","0.9.3","0.9.4","0.9.5","0.9.6","0.9.7","0.9.8","0.9.9","0.9.10","0.9.11"]
npm ERR! at installTargetsError (/usr/local/lib/node_modules/npm/lib/cache.js:685:10)
npm ERR! at /usr/local/lib/node_modules/npm/lib/cache.js:607:10
npm ERR! at saved (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js:138:7)
npm ERR! at Object.oncomplete (fs.js:107:15)
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! [email protected]

npm ERR! System Linux 2.6.18-348.3.1.el5
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "socket.io"
npm ERR! cwd /home/git
npm ERR! node -v v0.10.6
npm ERR! npm -v 1.2.18
npm http 304 https://registry.npmjs.org/redis/0.7.3
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/git/npm-debug.log
npm ERR! not ok code 0

I also tried to compile it and got

$ uname -a
Linux xxxxx.xxxxx.com 2.6.18-348.3.1.el5 #1 SMP Tue Mar 5 13:19:32 EST 2013 x86_64 x86_64 x86_64 GNU/Linux
$ make

✖ 1 of 32 tests failed:

  1. socket.io server attachment http.Server should serve static files:
    Error: expected undefined to equal 'application/javascript'
    at Assertion.assert (/home/git/socket.io/node_modules/expect.js/expect.js:99:13)
    at Assertion.be.Assertion.equal (/home/git/socket.io/node_modules/expect.js/expect.js:200:10)
    at Assertion.(anonymous function) as be
    at /home/git/socket.io/test/socket.io.js:32:28
    at Test.assert (/home/git/socket.io/node_modules/supertest/lib/test.js:195:3)
    at /home/git/socket.io/node_modules/supertest/lib/test.js:124:10
    at Test.Request.callback (/home/git/socket.io/node_modules/supertest/node_modules/superagent/lib/node/index.js:575:3)
    at Test. (/home/git/socket.io/node_modules/supertest/node_modules/superagent/lib/node/index.js:133:10)
    at Test.EventEmitter.emit (events.js:95:17)
    at IncomingMessage. (/home/git/socket.io/node_modules/supertest/node_modules/superagent/lib/node/index.js:703:12)
    at IncomingMessage.EventEmitter.emit (events.js:117:20)
    at _stream_readable.js:910:16
    at process._tickCallback (node.js:415:13)

make: *** [test] Error 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants