Proper files for socket.io 0.7? -


i'm developing node.js , socket.io, i'm doing local dev on windows own convenience. installation instructions socket.io npm install socket.io. fine linux environment, , i'm guessing node find in modules. on windows don't know do. got version 0.6 working fine somehow, managing find files need.

now, looks need 2 sets of files, 1 server side , 1 client. there's 2 repos on github, socket.io , socket.io-client. i'm trying download files need there. issue server 1 refers client one, socket.io-client files aren't in server repo. if put server files in, , reference them in node server, crashes on startup saying cannot find module 'socket.io-client'.

tl;dr if i'm copying files project directory, rather doing npm install, proper file structure socket.io version 0.7 running?

had same issue here , i'm not using npm either. nothing windows: i'm on ubuntu same prob.

you need have socket.io-client module available in node_modules path or wherever keep server-side socket.io module.


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -