Advertisement
Guest User

Untitled

a guest
Nov 26th, 2014
404
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. var WebSocket = require('ws')
  2.  
  3. cannot find module 'ws'
  4.  
  5. Execute cmd as Administrator (Right click cmd icon-> Run as Administrator) Then type in cmd:
  6.  
  7. c:Node Instalation Dir> npm install -g express
  8. c:Node Instalation Dir> npm install websocket --force
  9.  
  10. Then run my script :--
  11. D:My Script Folder > node myscript.js
  12.  
  13. cannot find module 'ws'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement