The only solution that I found to this problem:
----Instead of compiling the binaries on server, do it on local system.
Install all the binaries like Socket.io
, express
and connect
on your local system.
Make sure that all required binaries are compiled and loaded into node_modules
folder.
Simply FTP that folder on your server. (Make sure that python 2.7
is installed on server)
run
node server.js //or yourFile.js
and that should work fine.