Hi Everyone,
New to easyrtc, webRTC, node.js. Please be gentle.
I am trying to put the switching server within the URI space of an existing website, which means moving the source files to a new location. (And then using nginx as a proxy). Not got that far yet.
I read *\easyrtc\server_example\README.md which tells me it is possible to move the server, and gives me the steps to follow. But...
When I run "npm install" I am told a lot of the software is deprecated due to DOS attack possibilities. ???
Google tells me that I should run the following three commands to bring things up to date.
npm i -g npm-check-updates
npm-check-updates -u
npm install
Which I do. Then when I start the server I get this:-
ian@thebe:~/websites/coachmaster3dev/easyrtc/server$ node server
module.js:471
throw err;
^
Error: Cannot find module '../'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/home/ian/websites/coachmaster3dev/easyrtc/server/server.js:6:15)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
ian@thebe:~/websites/coachmaster3dev/easyrtc/server$
What is wrong? Why is it looking in the parent directory if I can place it anywhere?
Why does it install out of date software?
As part of my investigations, I went back to the original location, followed the instructions and everything worked?????
So I moved things again, followed instructions very carefully, and got the same error.
Thanks for your input.
Ian