Node.js + Socket.io + Windows 7 / 8?

后端 未结 11 1789
迷失自我
迷失自我 2021-02-07 05:29

I\'ve been searching everywhere, but can\'t seem to find a solution. Is it possible to install Socket.io on Node.js on Windows 7?

If not, is there some sort of alternati

11条回答
  •  北海茫月
    2021-02-07 05:56

    Since the 0.6.6 version (as far as I remember) Node.js has a normal version for Windows, and after installing it a npm.exe file appears in the install directory, not sure how exactly I was running it, maybe something like node npm install socket.io.

    Or maybe npm install socket.io. If none of these works, try to execute npm by typing full path to it (unless you have added a system variable for the path). For the record - I have successfully installed sokcet.io on Windows 7 via npm :)

提交回复
热议问题