I've installed NodeJs and tried to install Socket.io
Socket.io installation fails consecutively. I've tried several differend NodeJS versions (0.6.15,0.6.16,0.6.17,0.7.8). All fail to install socket.io.
The full log can be found on pastebin.
Console log is:
C:\Program Files (x86)\nodejs>npm install socket.io
npm http GET https://registry.npmjs.org/socket.io
npm http 304 https://registry.npmjs.org/socket.io
npm http GET https://registry.npmjs.org/policyfile/0.0.4
npm http GET https://registry.npmjs.org/socket.io-client/0.9.6
npm http GET https://registry.npmjs.org/redis/0.6.7
npm http 304 https://registry.npmjs.org/socket.io-client/0.9.6
npm http 304 https://registry.npmjs.org/redis/0.6.7
npm http 304 https://registry.npmjs.org/policyfile/0.0.4
npm http GET https://registry.npmjs.org/uglify-js/1.2.5
npm http GET https://registry.npmjs.org/xmlhttprequest/1.2.2
npm http GET https://registry.npmjs.org/active-x-obfuscator/0.0.1
npm http GET https://registry.npmjs.org/ws
npm http 304 https://registry.npmjs.org/uglify-js/1.2.5
npm http 304 https://registry.npmjs.org/xmlhttprequest/1.2.2
npm http 304 https://registry.npmjs.org/active-x-obfuscator/0.0.1
npm http 304 https://registry.npmjs.org/ws
npm http GET https://registry.npmjs.org/zeparser/0.0.5
npm http GET https://registry.npmjs.org/options
npm http GET https://registry.npmjs.org/commander
npm http 304 https://registry.npmjs.org/zeparser/0.0.5
npm http GET https://registry.npmjs.org/zeparser/-/zeparser-0.0.5.tgz
npm http 304 https://registry.npmjs.org/commander
npm http 304 https://registry.npmjs.org/options
> ws#0.4.14 install C:\Program Files (x86)\nodejs\node_modules\socket.io\node_mo
dules\socket.io-client\node_modules\ws
> node install.js
'node' is not recognized as an internal or external command,
operable program or batch file.
npm http 200 https://registry.npmjs.org/zeparser/-/zeparser-0.0.5.tgz
npm ERR! ws#0.4.14 install: `node install.js`
npm ERR! `cmd "/c" "node install.js"` failed with 1
npm ERR!
npm ERR! Failed at the ws#0.4.14 install script.
npm ERR! This is most likely a problem with the ws package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node install.js
npm ERR! You can get their info via:
npm ERR! npm owner ls ws
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files (x86)\\nodejs\\\\node.exe" "C:\\Program File
s (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "socket.io"
npm ERR! cwd C:\Program Files (x86)\nodejs
npm ERR! node -v v0.7.8
npm ERR! npm -v 1.1.18
npm ERR! code ELIFECYCLE
npm ERR! message ws#0.4.14 install: `node install.js`
npm ERR! message `cmd "/c" "node install.js"` failed with 1
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\Program Files (x86)\nodejs\npm-debug.log
npm not ok
Is there a workaround? How can I install Socket.IO on Windows 7 x64?
(Works for me with 0.6.15, win7 x64)
I'm not sure how you installed node, but it seems like you don't have it in your path.
Try editing your PATH variable and add C:\Program Files (x86)\nodejs\
Also, why are you installing in Program Files. This should be installed in your project folder. If you want to install a package globally you should use npm -g, but socket.io is not meant to be installed globally.
Problem solved on Node.js v0.8.3
Related
I want the Raspberry Pi 2 to read data from another device through the Serial port. However, I cannot install the npm's serialport package. I followed the instructions about Raspbian on https://www.npmjs.com/package/serialport. I was able to install v0.10.12 of Node and v1.2.32 of npm. But when I try installing the serialport module I get the following in the command line:
npm http GET https://registry.npmjs.org/serialport
npm http 304 https://registry.npmjs.org/serialport
npm WARN package.json serialport#1.7.4 No readme data.
npm http GET https://registry.npmjs.org/debug
npm http GET https://registry.npmjs.org/nan
npm http GET https://registry.npmjs.org/optimist
npm http GET https://registry.npmjs.org/async/0.9.0
npm http GET https://registry.npmjs.org/sf/0.1.7
npm http GET https://registry.npmjs.org/bindings/1.2.1
npm http 304 https://registry.npmjs.org/debug
npm http 304 https://registry.npmjs.org/nan
npm http 304 https://registry.npmjs.org/optimist
npm http 304 https://registry.npmjs.org/sf/0.1.7
npm http 304 https://registry.npmjs.org/bindings/1.2.1
npm WARN package.json nan#1.8.4 No readme data.
npm WARN package.json optimist#0.6.1 No readme data.
npm http 304 https://registry.npmjs.org/async/0.9.0
npm ERR! Error: No compatible version found: debug#'^2.1.1'
npm ERR! Valid install targets:
npm ERR! ["0.0.1","0.1.0","0.2.0","0.3.0","0.4.0","0.4.1","0.5.0","0.6.0","0.7.0","0.7.1","0.7.2","0.7.3","0.7.4","0.8.0","0.8.1","1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","2.0.0","2.1.0","2.1.1","2.1.2","2.1.3","2.2.0"]
npm ERR! at installTargetsError (/opt/node/lib/node_modules/npm/lib/cache.js:719:10)
npm ERR! at /opt/node/lib/node_modules/npm/lib/cache.js:641:10
npm ERR! at saved (/opt/node/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! <npm-#googlegroups.com>
npm ERR! System Linux 3.18.11-v7+
npm ERR! command "/opt/node/bin/node" "/opt/node/bin/npm" "install" "serialport"
npm ERR! cwd /home/pi
npm ERR! node -v v0.10.12
npm ERR! npm -v 1.2.32
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/pi/npm-debug.log
npm ERR! not ok code 0
What is the problem?
Your version of npm does not support the caret (^) version specifier, so you should upgrade npm. You will probably also want to upgrade node too.
I have encountered following error while trying install mongoose.
npm http GET https://registry.npmjs.org/mongoose
npm http 200 https://registry.npmjs.org/mongoose
npm http GET https://registry.npmjs.org/mongoose/-/mongoose-3.6.0rc0.tgz
npm http 200 https://registry.npmjs.org/mongoose/-/mongoose-3.6.0rc0.tgz
npm http GET https://registry.npmjs.org/hooks/0.2.1
npm http GET https://registry.npmjs.org/mongodb/1.2.11
npm http GET https://registry.npmjs.org/ms/0.1.0
npm http GET https://registry.npmjs.org/sliced/0.0.3
npm http GET https://registry.npmjs.org/muri/0.3.0
npm http GET https://registry.npmjs.org/mpromise/0.2.0
npm http GET https://registry.npmjs.org/mpath/0.1.1
npm http 200 https://registry.npmjs.org/ms/0.1.0
npm http GET https://registry.npmjs.org/ms/-/ms-0.1.0.tgz
npm http 200 https://registry.npmjs.org/sliced/0.0.3
npm http 200 https://registry.npmjs.org/hooks/0.2.1
npm http 200 https://registry.npmjs.org/muri/0.3.0
npm http GET https://registry.npmjs.org/sliced/-/sliced-0.0.3.tgz
npm http GET https://registry.npmjs.org/hooks/-/hooks-0.2.1.tgz
npm http GET https://registry.npmjs.org/muri/-/muri-0.3.0.tgz
npm http 200 https://registry.npmjs.org/ms/-/ms-0.1.0.tgz
npm http 200 https://registry.npmjs.org/mpromise/0.2.0
npm http GET https://registry.npmjs.org/mpromise/-/mpromise-0.2.0.tgz
npm http 200 https://registry.npmjs.org/mongodb/1.2.11
npm http 200 https://registry.npmjs.org/mpath/0.1.1
npm http GET https://registry.npmjs.org/mongodb/-/mongodb-1.2.11.tgz
npm http 200 https://registry.npmjs.org/hooks/-/hooks-0.2.1.tgz
npm http GET https://registry.npmjs.org/mpath/-/mpath-0.1.1.tgz
npm http 200 https://registry.npmjs.org/muri/-/muri-0.3.0.tgz
npm http 200 https://registry.npmjs.org/mpromise/-/mpromise-0.2.0.tgz
npm http 200 https://registry.npmjs.org/mongodb/-/mongodb-1.2.11.tgz
npm http 200 https://registry.npmjs.org/mpath/-/mpath-0.1.1.tgz
npm http 200 https://registry.npmjs.org/sliced/-/sliced-0.0.3.tgz
npm ERR! error installing mongoose#3.6.0rc0
npm ERR! error rolling back mongoose#3.6.0rc0 Error: UNKNOWN, unknown error '/home/vlad/node_modules/mongoose'
npm ERR! Unsupported
npm ERR! Not compatible with your version of node/npm: mongodb#1.2.11
npm ERR! Required: {"node":">=0.6.19"}
npm ERR! Actual: {"npm":"1.1.0-3","node":"0.6.9"}
npm ERR!
npm ERR! System Linux 3.2.0-4-486
npm ERR! command "node" "/usr/local/bin/npm" "install" "mongoose"
npm ERR! cwd /home/vlad
npm ERR! node -v v0.6.9
npm ERR! npm -v 1.1.0-3
npm ERR! code ENOTSUP
npm ERR! message Unsupported
npm ERR! errno {}
npm http GET https://registry.npmjs.org/sliced/0.0.4
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/vlad/npm-debug.log
npm not ok
Can someone suggest me how I can solve it?
The error tells you what the problem is:
npm ERR! Not compatible with your version of node/npm: mongodb#1.2.11
npm ERR! Required: {"node":">=0.6.19"}
npm ERR! Actual: {"npm":"1.1.0-3","node":"0.6.9"}
You have a version 0.6.9 of node installed, but the dependency package mongodb requires a version greater or equal to 0.6.19. You can upgrade by doing:
sudo npm install n -g
I am trying to install express on my node installation using npm. I am doing a local installation. I am using Ubuntu 11.10 in my office environment (i.e. other than a few well known ports everything else would be blocked). I am invoking "npm install" from package.json as a user (not 'sudo' ing). The installation is failing with the following logs.
Comments/solution would be appreciated.
npm http GET http://registry.npmjs.org/express
npm http GET http://registry.npmjs.org/express
npm http GET http://registry.npmjs.org/express
npm http GET http://registry.npmjs.org/range-parser/0.0.4
npm http GET http://registry.npmjs.org/connect/2.7.2
npm http GET http://registry.npmjs.org/mkdirp/0.3.3
npm http GET http://registry.npmjs.org/commander/0.6.1
npm http GET http://registry.npmjs.org/cookie/0.0.5
npm http GET http://registry.npmjs.org/buffer-crc32/0.1.1
npm http GET http://registry.npmjs.org/send/0.1.0
npm http GET http://registry.npmjs.org/cookie-signature/0.0.1
npm http GET http://registry.npmjs.org/methods/0.0.1
npm http GET http://registry.npmjs.org/fresh/0.1.0
npm http GET http://registry.npmjs.org/debug
npm http GET http://registry.npmjs.org/connect/2.7.2
npm http GET http://registry.npmjs.org/range-parser/0.0.4
npm http GET http://registry.npmjs.org/cookie/0.0.5
npm http GET http://registry.npmjs.org/commander/0.6.1
npm http GET http://registry.npmjs.org/mkdirp/0.3.3
npm http GET http://registry.npmjs.org/send/0.1.0
npm http GET http://registry.npmjs.org/buffer-crc32/0.1.1
npm http GET http://registry.npmjs.org/fresh/0.1.0
npm http GET http://registry.npmjs.org/cookie-signature/0.0.1
npm http GET http://registry.npmjs.org/methods/0.0.1
npm http GET http://registry.npmjs.org/debug
npm http GET http://registry.npmjs.org/connect/2.7.2
npm http GET http://registry.npmjs.org/range-parser/0.0.4
npm http GET http://registry.npmjs.org/mkdirp/0.3.3
npm http GET http://registry.npmjs.org/commander/0.6.1
npm http GET http://registry.npmjs.org/cookie/0.0.5
npm http GET http://registry.npmjs.org/buffer-crc32/0.1.1
npm http GET http://registry.npmjs.org/send/0.1.0
npm http GET http://registry.npmjs.org/cookie-signature/0.0.1
npm http GET http://registry.npmjs.org/methods/0.0.1
npm http GET http://registry.npmjs.org/fresh/0.1.0
npm http GET http://registry.npmjs.org/debug
npm http GET http://registry.npmjs.org/commander/-/commander-0.6.1.tgz
npm ERR! Error: Parse Error
npm ERR! at Socket.socketOnData (http.js:1485:20)
npm ERR! at TCP.onread (net.js:404:27)
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>
npm ERR! System Linux 3.0.0-20-generic
npm ERR! command "nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /home/nvbalaji/nodejs/hb
npm ERR! node -v v0.8.21
npm ERR! npm -v 1.2.12
npm ERR! code HPE_INVALID_CONSTANT
npm WARN package.json methods#0.0.1 No README.md file found!
npm http GET http://registry.npmjs.org/fresh/-/fresh-0.1.0.tgz
npm ERR! fetch failed http://registry.npmjs.org/commander/-/commander-0.6.1.tgz
npm ERR! fetch failed http://registry.npmjs.org/fresh/-/fresh-0.1.0.tgz
npm http GET http://registry.npmjs.org/commander/-/commander-0.6.1.tgz
npm http GET http://registry.npmjs.org/fresh/-/fresh-0.1.0.tgz
npm ERR! fetch failed http://registry.npmjs.org/fresh/-/fresh-0.1.0.tgz
npm ERR! fetch failed http://registry.npmjs.org/commander/-/commander-0.6.1.tgz
npm http GET http://registry.npmjs.org/fresh/-/fresh-0.1.0.tgz
npm http GET http://registry.npmjs.org/commander/-/commander-0.6.1.tgz
npm ERR! fetch failed http://registry.npmjs.org/commander/-/commander-0.6.1.tgz
npm ERR! fetch failed http://registry.npmjs.org/fresh/-/fresh-0.1.0.tgz
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/nvbalaji/nodejs/hb/npm-debug.log
npm ERR! not ok code 0
maybe some processes during global installation
npm install express -g / npm install -g express
needs admin permissions for writing files in system folders. try not global installation npm install express.
This is how i've worked around it on my installs:
Create a new file called node
:\>gedit /usr/local/bin/node
Contents:
#!/bin/bash
exec /nodejs "$#"
:\>sudo chmod +x /usr/local/bin/node
Try your NPM install again.
I tried installing derbyjs and I got the following error:
alex#alex-K43U:~/derby$ npm install -g derby
npm http GET https://registry.npmjs.org/derby
npm http 200 https://registry.npmjs.org/derby
npm http GET https://registry.npmjs.org/derby/-/derby-0.3.13.tgz
npm http 200 https://registry.npmjs.org/derby/-/derby-0.3.13.tgz
npm http GET https://registry.npmjs.org/dom-shim
npm http GET https://registry.npmjs.org/html-util
npm http GET https://registry.npmjs.org/tracks
npm http GET https://registry.npmjs.org/racer/0.3.13
npm http GET https://registry.npmjs.org/chokidar
npm http GET https://registry.npmjs.org/less
npm http GET https://registry.npmjs.org/up
npm http GET https://registry.npmjs.org/stylus
npm http GET https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/commander
npm http GET https://registry.npmjs.org/nib
npm http 200 https://registry.npmjs.org/dom-shim
npm http GET https://registry.npmjs.org/dom-shim/-/dom-shim-0.1.1.tgz
npm http 200 https://registry.npmjs.org/tracks
npm http GET https://registry.npmjs.org/tracks/-/tracks-0.1.8.tgz
npm http 200 https://registry.npmjs.org/html-util
npm http GET https://registry.npmjs.org/html-util/-/html-util-0.1.3.tgz
npm http 200 https://registry.npmjs.org/racer/0.3.13
npm http 200 https://registry.npmjs.org/chokidar
npm ERR! error installing derby#0.3.13
npm http GET https://registry.npmjs.org/racer/-/racer-0.3.13.tgz
npm ERR! Error: No compatible version found: chokidar#'>=0.2.6'
npm ERR! No valid targets found.
npm ERR! Perhaps not compatible with your version of node?
npm ERR! at installTargetsError (/home/alex/nvm/v0.6.7/lib/node_modules/npm/lib/cache.js:488:10)
npm ERR! at next_ (/home/alex/nvm/v0.6.7/lib/node_modules/npm/lib/cache.js:438:17)
npm ERR! at next (/home/alex/nvm/v0.6.7/lib/node_modules/npm/lib/cache.js:415:44)
npm ERR! at /home/alex/nvm/v0.6.7/lib/node_modules/npm/lib/cache.js:408:5
npm ERR! at saved (/home/alex/nvm/v0.6.7/lib/node_modules/npm/lib/utils/npm-registry-client/get.js:147:7)
npm ERR! at Object.oncomplete (/home/alex/nvm/v0.6.7/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:231:7)
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-24-generic
npm ERR! command "node" "/home/alex/nvm/v0.6.7/bin/npm" "install" "-g" "derby"
npm ERR! cwd /home/alex/derby
npm ERR! node -v v0.6.7
npm ERR! npm -v 1.1.0-3
npm ERR! message No compatible version found: chokidar#'>=0.2.6'
npm ERR! message No valid targets found.
npm ERR! message Perhaps not compatible with your version of node?
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/alex/derby/npm-debug.log
npm not ok
I have no idea how to fix this. Any suggestions?
Looking at chokidar's package.json file for versions >=0.2.6 tells me that it requires node.js version 0.6.10 or newer. You are trying to install it for node 0.6.7.
Furthermore I'd suggest using Derby with node 0.8.x. At least I have had no installation issues with Derby on node 0.8.x.
When I run npm install node-inspector, I get the following:
....
GET https://registry.npmjs.org/policyfile/0.0.4
npm http GET https://registry.npmjs.org/mime
npm http GET https://registry.npmjs.org/qs
npm http GET https://registry.npmjs.org/formidable
npm http 304 https://registry.npmjs.org/socket.io-client/0.9.8
npm http 304 https://registry.npmjs.org/redis/0.7.2
npm http 304 https://registry.npmjs.org/policyfile/0.0.4
npm http 304 https://registry.npmjs.org/formidable
npm http 304 https://registry.npmjs.org/mime
npm http 304 https://registry.npmjs.org/qs
npm http GET https://registry.npmjs.org/hiredis
npm http GET https://registry.npmjs.org/uglify-js/1.2.5
npm http GET https://registry.npmjs.org/active-x-obfuscator/0.0.1
npm http GET https://registry.npmjs.org/xmlhttprequest/1.2.2
npm http GET https://registry.npmjs.org/ws
npm http 304 https://registry.npmjs.org/hiredis
> hiredis#0.1.14 preinstall C:\apache\expTest\node_modules\node-inspector\node_modules\socket.io\node_modules\redis\node_modules\hiredis
> make || gmake
npm http 304 https://registry.npmjs.org/uglify-js/1.2.5
npm http 304 https://registry.npmjs.org/ws
npm http 304 https://registry.npmjs.org/active-x-obfuscator/0.0.1
npm http 304 https://registry.npmjs.org/xmlhttprequest/1.2.2
'make' is not recognized as an internal or external command,
operable program or batch file.
'gmake' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! error installing hiredis#0.1.14
npm ERR! error installing redis#0.7.2
npm ERR! error installing socket.io#0.9.8
npm ERR! error rolling back socket.io#0.9.8 Error: UNKNOWN, unknown error 'C:\apache\expTest\node_modules\node-inspector\node_modules\socket.io\node_modules\socket.io-client'
npm ERR! error installing node-inspector#0.2.0beta3
npm ERR! Error: ENOENT, no such file or directory 'C:\apache\expTest\node_modules\node-inspector\node_modules\socket.io\node_modules\socket.io-client\node_modules\___ws.npm\p
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 Windows_NT 6.1.7601
npm ERR! command "c:\\Program Files (x86)\\nodejs\\\\node.exe" "c:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "node-inspector"
npm ERR! cwd C:\apache\expTest
npm ERR! node -v v0.6.11
npm ERR! npm -v 1.1.1
npm ERR! path C:\apache\expTest\node_modules\node-inspector\node_modules\socket.io\node_modules\socket.io-client\node_modules\___ws.npm\package\lib\Validation.fallback.js
npm ERR! fstream_path C:\apache\expTest\node_modules\node-inspector\node_modules\socket.io\node_modules\socket.io-client\node_modules\___ws.npm\package\lib\Validation.fallbac
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! message ENOENT, no such file or directory 'C:\apache\expTest\node_modules\node-inspector\node_modules\socket.io\node_modules\socket.io-client\node_modules\___ws.npm\
npm ERR! errno {}
npm ERR! fstream_stack Object.oncomplete (c:\Program Files (x86)\nodejs\node_modules\npm\node_modules\fstream\lib\writer.js:204:26)
npm ERR! error rolling back node-inspector#0.2.0beta3 Error: UNKNOWN, unknown error 'C:\apache\expTest\node_modules\node-inspector\node_modules\socket.io\node_modules\socket.
npm ERR! hiredis#0.1.14 preinstall: `make || gmake`
npm ERR! `cmd "/c" "make || gmake"` failed with 1
npm ERR!
npm ERR! Failed at the hiredis#0.1.14 preinstall script.
npm ERR! This is most likely a problem with the hiredis package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! make || gmake
npm ERR! You can get their info via:
npm ERR! npm owner ls hiredis
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "c:\\Program Files (x86)\\nodejs\\\\node.exe" "c:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "node-inspector"
npm ERR! cwd C:\apache\expTest
npm ERR! node -v v0.6.11
npm ERR! npm -v 1.1.1
npm ERR! code ELIFECYCLE
npm ERR! message hiredis#0.1.14 preinstall: `make || gmake`
npm ERR! message `cmd "/c" "make || gmake"` failed with 1
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\apache\expTest\npm-debug.log
npm not ok
It looks like it is trying to run a nix command at hiredis, which fails, crashing the entire install. Is there any way to get around this? I have heard plenty of Windows users using node-inspector, but perhaps this is a dependency from a newer version. Any ideas?
As M. Laing said, you're missing GNU make, which is required by hiredis (a redis connector).
You don't need redis for node-inspector, but it's required by socket.io, even though it's for a completely optional feature. I've opened an issue on github about that:
https://github.com/LearnBoost/socket.io/issues/978
While this gets resolved, here's a work around:
Download socket.io's ZIP archive from github and unzip it.
Edit the package.json file and remove redis from the dependencies.
Run a cmd, enter the folder and type npm install.
Type npm install node-inspector again.
Since socket.io is now installed, it should now succeed.