trailofbits / tubertc

Peer-to-Peer Video Chat for Corporate LANs
MIT License
358 stars 58 forks source link

TypeError: io.listen is not a function #101

Open zilton7 opened 3 years ago

zilton7 commented 3 years ago

I get this error when opening the app, after pushing it to Heroku

2021-06-21T10:11:43.212715+00:00 app[web.1]: TypeError: io.listen is not a function
2021-06-21T10:11:43.212715+00:00 app[web.1]: at Object.<anonymous> (/app/server.js:112:23)
2021-06-21T10:11:43.212716+00:00 app[web.1]: at Module._compile (internal/modules/cjs/loader.js:778:30)
2021-06-21T10:11:43.212716+00:00 app[web.1]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
2021-06-21T10:11:43.212717+00:00 app[web.1]: at Module.load (internal/modules/cjs/loader.js:653:32)
2021-06-21T10:11:43.212717+00:00 app[web.1]: at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
2021-06-21T10:11:43.212717+00:00 app[web.1]: at Function.Module._load (internal/modules/cjs/loader.js:585:3)
2021-06-21T10:11:43.212718+00:00 app[web.1]: at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
2021-06-21T10:11:43.212718+00:00 app[web.1]: at startup (internal/bootstrap/node.js:283:19)
2021-06-21T10:11:43.212718+00:00 app[web.1]: at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
2021-06-21T10:11:43.224230+00:00 app[web.1]: npm ERR! code ELIFECYCLE
2021-06-21T10:11:43.226082+00:00 app[web.1]: npm ERR! errno 1
2021-06-21T10:11:43.230087+00:00 app[web.1]: npm ERR! tubertc@2.0.0 start: `node server.js`
2021-06-21T10:11:43.230088+00:00 app[web.1]: npm ERR! Exit status 1
2021-06-21T10:11:43.230089+00:00 app[web.1]: npm ERR!
2021-06-21T10:11:43.230089+00:00 app[web.1]: npm ERR! Failed at the tubertc@2.0.0 start script.
2021-06-21T10:11:43.230090+00:00 app[web.1]: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
2021-06-21T10:11:43.235708+00:00 app[web.1]: 
2021-06-21T10:11:43.236045+00:00 app[web.1]: npm ERR! A complete log of this run can be found in:
2021-06-21T10:11:43.236303+00:00 app[web.1]: npm ERR!     /app/.npm/_logs/2021-06-21T10_11_43_228Z-debug.log
2021-06-21T10:11:43.322980+00:00 heroku[web.1]: Process exited with status 1
2021-06-21T10:11:43.391666+00:00 heroku[web.1]: State changed from starting to crashed
2021-06-21T10:11:44.539089+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=tubertc-zil.herokuapp.com request_id=67e7132b-ccf4-48e8-9f9a-17ebf3a89cc4 fwd="46.36.85.110" dyno= connect= service= status=503 bytes= protocol=https