Trying to install socket.io of npm NodeJS

I'm trying to install socket.io of npm NodeJS, and I got those errors:

npm ERR! fetch failed http://registry.npmjs.org/socket.io/-/socket.io-1.0.6.tgz
npm ERR! fetch failed http://registry.npmjs.org/socket.io-client/-/socket.io-client-1.0.6.tgz
npm ERR! fetch failed http://registry.npmjs.org/has-binary-data/-/has-binary-data-0.1.1.tgz
npm ERR! fetch failed http://registry.npmjs.org/nan/-/nan-0.3.2.tgz
npm ERR! fetch failed http://registry.npmjs.org/component-inherit/-/component-inherit-0.0.3.tgz
npm ERR! fetch failed http://registry.npmjs.org/callsite/-/callsite-1.0.0.tgz

> ws@0.4.31 install /home/admin/domains/{domain}.com/public_html/chat/node_modules/socket.io/node_modules/engine.io/node_modules/ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)

I have centos 5.10.

Thank you!