muaz-khan / WebRTC-Scalable-Broadcast

This module simply initializes socket.io and configures it in a way that single broadcast can be relayed over unlimited users without any bandwidth/CPU usage issues. Everything happens peer-to-peer!
https://rtcmulticonnection.herokuapp.com/demos/Scalable-Broadcast.html
532 stars 142 forks source link

Cannot find module .node_moduleswebrtc-scalable-broadcastserver.js #3

Closed rubo77 closed 9 years ago

rubo77 commented 9 years ago

I did install it with npm version 1.4.21:

cd /var/www/
npm install webrtc-scalable-broadcast

When I start

node .\node_modules\webrtc-scalable-broadcast\server.js

I get the error:

module.js:340
    throw err;
          ^
Error: Cannot find module '/var/www/.node_moduleswebrtc-scalable-broadcastserver.js'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:906:3

Do I have to install nodes v1.0.1?

SLaks commented 9 years ago

Linux paths use forward slashes, not backslashes.

rubo77 commented 9 years ago

fixed by #4