0

I just want to ask why I cannot use the module of socket.io if I install this globally, I am new in socket.io, I tried to execute this command "npm install socket.io" to this C:\Users\username>npm install socket.io but then after It installed and run my app.js.I get error cannot find socket.io module..but when I run command "npm install socket.io" where my app.js is located it works fine.

I have this version of node.js v0.12.0

Thank you in advance.

jemz
  • 4,987
  • 18
  • 62
  • 102

0 Answers0