Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

TypeError: io.listen is not a function #101

Open
zilton7 opened this issue Jun 16, 2021 · 0 comments
Open

TypeError: io.listen is not a function #101

zilton7 opened this issue Jun 16, 2021 · 0 comments

Comments

@zilton7
Copy link

zilton7 commented Jun 16, 2021

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! [email protected] 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 [email protected] 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
@zilton7 zilton7 changed the title Installing to Heroku failling TypeError: io.listen is not a function Jun 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant