Wednesday, 15 April 2015

node.js - Can't get Socket.IO to install on Ubuntu VPS server? -



node.js - Can't get Socket.IO to install on Ubuntu VPS server? -

i having problem socket.io installed in right directory guess work website. had working @ 1 point, had install socketio in directory website files (so cluttered , couldn't there, deleted files , no longer works).

my website files located in: /var/www/

node.js seems work fine globally when type, node -v anywhere gives me version.

i have tried sudo npm install socket.io -g didn't prepare issue. suppose install socket.io, or how suppose in order create work?

possible duplicate: getting errors when trying install socket.io globally

you have install npm packages in project folder package.json , node_modules folder exist if doing locally. global installation must have node_path variable containing global bundle folder, should /usr/local/lib/node_modules

node.js ubuntu terminal socket.io

No comments:

Post a Comment