-
Notifications
You must be signed in to change notification settings - Fork 10.1k
Closed
Description
Hi,
I'm trying to run some examples from repo and stuck with an error
Steps
cd socket.io/examples/chat
npm install # no errors here, everything is fine
node app.js # error
Error
module.js:340
throw err;
^
Error: Cannot find module 'ws'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:362:17)
at require (module.js:378:17)
at Object.<anonymous> (/home/sv/Dropbox/code/socket.io/lib/manager.js:23:23)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:362:17)
I have tried to add module ws into dependencies in package.json and then run npm install again, but it didn't make any differencem, still getting the same error.
- node v0.8.17
- npm v1.1.71
- os ubuntu 12.10
Please let me know if you need any additional info.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels