I have installled node.js and npm on amazon ec2 instance.Now when I am installing socket.io, its getting stucked at :
npm http 200 https://registry.npmjs.org/redis/-/redis-0.7.3.tgz
It just get stucks there forever.
I tried all these commands -
sudo PATH=/usr/local/bin:$PATH npm install socket.io -g
sudo npm install socket.io -g
sudo npm install socket.io
sudo PATH=/usr/local/bin:$PATH npm install socket.io
I tried changing the folder to node/npm/node_modules and tried the above 4 commands but it still gets stuck.What is going wrong here ? Please help as it is giving me a headache since morning.