We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am a newbie here! Excuse my ignorance! I deployed a forked repository [https://github.com/botgram/shell-bot/] on heroku which gave me error.
[LOG] 2021-06-10T09:31:20.044424+00:00 app[worker.1]: > [email protected] start /app 2021-06-10T09:31:20.044425+00:00 app[worker.1]: > node server.js 2021-06-10T09:31:20.044425+00:00 app[worker.1]: 2021-06-10T09:31:20.209163+00:00 app[worker.1]: innerError Error: Cannot find module '../build/Debug/pty.node' 2021-06-10T09:31:20.209165+00:00 app[worker.1]: Require stack: 2021-06-10T09:31:20.209165+00:00 app[worker.1]: - /app/node_modules/node-pty/lib/unixTerminal.js 2021-06-10T09:31:20.209166+00:00 app[worker.1]: - /app/node_modules/node-pty/lib/index.js 2021-06-10T09:31:20.209166+00:00 app[worker.1]: - /app/lib/command.js 2021-06-10T09:31:20.209167+00:00 app[worker.1]: - /app/server.js 2021-06-10T09:31:20.209168+00:00 app[worker.1]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:794:15) 2021-06-10T09:31:20.209168+00:00 app[worker.1]: at Function.Module._load (internal/modules/cjs/loader.js:687:27) 2021-06-10T09:31:20.209168+00:00 app[worker.1]: at Module.require (internal/modules/cjs/loader.js:849:19) 2021-06-10T09:31:20.209169+00:00 app[worker.1]: at require (internal/modules/cjs/helpers.js:74:18) 2021-06-10T09:31:20.209169+00:00 app[worker.1]: at Object. (/app/node_modules/node-pty/lib/unixTerminal.js:30:15) 2021-06-10T09:31:20.209170+00:00 app[worker.1]: at Module._compile (internal/modules/cjs/loader.js:956:30) 2021-06-10T09:31:20.209170+00:00 app[worker.1]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:973:10) 2021-06-10T09:31:20.209171+00:00 app[worker.1]: at Module.load (internal/modules/cjs/loader.js:812:32) 2021-06-10T09:31:20.209171+00:00 app[worker.1]: at Function.Module._load (internal/modules/cjs/loader.js:724:14) 2021-06-10T09:31:20.209172+00:00 app[worker.1]: at Module.require (internal/modules/cjs/loader.js:849:19) { 2021-06-10T09:31:20.209172+00:00 app[worker.1]: code: 'MODULE_NOT_FOUND', 2021-06-10T09:31:20.209172+00:00 app[worker.1]: requireStack: [ 2021-06-10T09:31:20.209173+00:00 app[worker.1]: '/app/node_modules/node-pty/lib/unixTerminal.js', 2021-06-10T09:31:20.209173+00:00 app[worker.1]: '/app/node_modules/node-pty/lib/index.js', 2021-06-10T09:31:20.209173+00:00 app[worker.1]: '/app/lib/command.js', 2021-06-10T09:31:20.209174+00:00 app[worker.1]: '/app/server.js' 2021-06-10T09:31:20.209174+00:00 app[worker.1]: ] 2021-06-10T09:31:20.209175+00:00 app[worker.1]: } 2021-06-10T09:31:20.211743+00:00 app[worker.1]: /app/node_modules/node-pty/lib/unixTerminal.js:35 2021-06-10T09:31:20.211744+00:00 app[worker.1]: throw outerError; 2021-06-10T09:31:20.211745+00:00 app[worker.1]: ^ 2021-06-10T09:31:20.211745+00:00 app[worker.1]: 2021-06-10T09:31:20.211746+00:00 app[worker.1]: Error: The module '/app/node_modules/node-pty/build/Release/pty.node' 2021-06-10T09:31:20.211746+00:00 app[worker.1]: was compiled against a different Node.js version using 2021-06-10T09:31:20.211747+00:00 app[worker.1]: NODE_MODULE_VERSION 83. This version of Node.js requires 2021-06-10T09:31:20.211747+00:00 app[worker.1]: NODE_MODULE_VERSION 72. Please try re-compiling or re-installing 2021-06-10T09:31:20.211748+00:00 app[worker.1]: the module (for instance, using npm rebuild or npm install). 2021-06-10T09:31:20.211748+00:00 app[worker.1]: at Object.Module._extensions..node (internal/modules/cjs/loader.js:1003:18) 2021-06-10T09:31:20.211748+00:00 app[worker.1]: at Module.load (internal/modules/cjs/loader.js:812:32) 2021-06-10T09:31:20.211749+00:00 app[worker.1]: at Function.Module._load (internal/modules/cjs/loader.js:724:14) 2021-06-10T09:31:20.211749+00:00 app[worker.1]: at Module.require (internal/modules/cjs/loader.js:849:19) 2021-06-10T09:31:20.211750+00:00 app[worker.1]: at require (internal/modules/cjs/helpers.js:74:18) 2021-06-10T09:31:20.211750+00:00 app[worker.1]: at Object. (/app/node_modules/node-pty/lib/unixTerminal.js:26:11) 2021-06-10T09:31:20.211751+00:00 app[worker.1]: at Module._compile (internal/modules/cjs/loader.js:956:30) 2021-06-10T09:31:20.211751+00:00 app[worker.1]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:973:10) 2021-06-10T09:31:20.211751+00:00 app[worker.1]: at Module.load (internal/modules/cjs/loader.js:812:32) 2021-06-10T09:31:20.211752+00:00 app[worker.1]: at Function.Module._load (internal/modules/cjs/loader.js:724:14) 2021-06-10T09:31:20.243797+00:00 app[worker.1]: npm ERR! code ELIFECYCLE 2021-06-10T09:31:20.245429+00:00 app[worker.1]: npm ERR! errno 1 2021-06-10T09:31:20.254345+00:00 app[worker.1]: npm ERR! [email protected] start: node server.js 2021-06-10T09:31:20.254586+00:00 app[worker.1]: npm ERR! Exit status 1 2021-06-10T09:31:20.254877+00:00 app[worker.1]: npm ERR! 2021-06-10T09:31:20.255141+00:00 app[worker.1]: npm ERR! Failed at the [email protected] start script. 2021-06-10T09:31:20.255413+00:00 app[worker.1]: npm ERR! This is probably not a problem with npm. There is likely additional logging output above. 2021-06-10T09:31:20.262637+00:00 app[worker.1]: 2021-06-10T09:31:20.262995+00:00 app[worker.1]: npm ERR! A complete log of this run can be found in: 2021-06-10T09:31:20.263254+00:00 app[worker.1]: npm ERR! /app/.npm/_logs/2021-06-10T09_31_20_256Z-debug.log 2021-06-10T09:31:24.389789+00:00 app[worker.1]: Error waiting for network: Resource temporarily unavailable 2021-06-10T09:31:26.973699+00:00 heroku[worker.1]: Starting process with command npm start 2021-06-10T09:31:27.639131+00:00 heroku[worker.1]: State changed from starting to up 2021-06-10T09:31:29.873589+00:00 heroku[worker.1]: Process exited with status 1 2021-06-10T09:31:29.947884+00:00 heroku[worker.1]: State changed from up to crashed 2021-06-10T09:31:29.684662+00:00 app[worker.1]:
npm rebuild
npm install
node server.js
npm start
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am a newbie here! Excuse my ignorance!
I deployed a forked repository [https://github.com/botgram/shell-bot/] on heroku which gave me error.
[LOG]
2021-06-10T09:31:20.044424+00:00 app[worker.1]: > [email protected] start /app
2021-06-10T09:31:20.044425+00:00 app[worker.1]: > node server.js
2021-06-10T09:31:20.044425+00:00 app[worker.1]:
2021-06-10T09:31:20.209163+00:00 app[worker.1]: innerError Error: Cannot find module '../build/Debug/pty.node'
2021-06-10T09:31:20.209165+00:00 app[worker.1]: Require stack:
2021-06-10T09:31:20.209165+00:00 app[worker.1]: - /app/node_modules/node-pty/lib/unixTerminal.js
2021-06-10T09:31:20.209166+00:00 app[worker.1]: - /app/node_modules/node-pty/lib/index.js
2021-06-10T09:31:20.209166+00:00 app[worker.1]: - /app/lib/command.js
2021-06-10T09:31:20.209167+00:00 app[worker.1]: - /app/server.js
2021-06-10T09:31:20.209168+00:00 app[worker.1]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:794:15)
2021-06-10T09:31:20.209168+00:00 app[worker.1]: at Function.Module._load (internal/modules/cjs/loader.js:687:27)
2021-06-10T09:31:20.209168+00:00 app[worker.1]: at Module.require (internal/modules/cjs/loader.js:849:19)
2021-06-10T09:31:20.209169+00:00 app[worker.1]: at require (internal/modules/cjs/helpers.js:74:18)
2021-06-10T09:31:20.209169+00:00 app[worker.1]: at Object. (/app/node_modules/node-pty/lib/unixTerminal.js:30:15)
2021-06-10T09:31:20.209170+00:00 app[worker.1]: at Module._compile (internal/modules/cjs/loader.js:956:30)
2021-06-10T09:31:20.209170+00:00 app[worker.1]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:973:10)
2021-06-10T09:31:20.209171+00:00 app[worker.1]: at Module.load (internal/modules/cjs/loader.js:812:32)
2021-06-10T09:31:20.209171+00:00 app[worker.1]: at Function.Module._load (internal/modules/cjs/loader.js:724:14)
2021-06-10T09:31:20.209172+00:00 app[worker.1]: at Module.require (internal/modules/cjs/loader.js:849:19) {
2021-06-10T09:31:20.209172+00:00 app[worker.1]: code: 'MODULE_NOT_FOUND',
2021-06-10T09:31:20.209172+00:00 app[worker.1]: requireStack: [
2021-06-10T09:31:20.209173+00:00 app[worker.1]: '/app/node_modules/node-pty/lib/unixTerminal.js',
2021-06-10T09:31:20.209173+00:00 app[worker.1]: '/app/node_modules/node-pty/lib/index.js',
2021-06-10T09:31:20.209173+00:00 app[worker.1]: '/app/lib/command.js',
2021-06-10T09:31:20.209174+00:00 app[worker.1]: '/app/server.js'
2021-06-10T09:31:20.209174+00:00 app[worker.1]: ]
2021-06-10T09:31:20.209175+00:00 app[worker.1]: }
2021-06-10T09:31:20.211743+00:00 app[worker.1]: /app/node_modules/node-pty/lib/unixTerminal.js:35
2021-06-10T09:31:20.211744+00:00 app[worker.1]: throw outerError;
2021-06-10T09:31:20.211745+00:00 app[worker.1]: ^
2021-06-10T09:31:20.211745+00:00 app[worker.1]:
2021-06-10T09:31:20.211746+00:00 app[worker.1]: Error: The module '/app/node_modules/node-pty/build/Release/pty.node'
2021-06-10T09:31:20.211746+00:00 app[worker.1]: was compiled against a different Node.js version using
2021-06-10T09:31:20.211747+00:00 app[worker.1]: NODE_MODULE_VERSION 83. This version of Node.js requires
2021-06-10T09:31:20.211747+00:00 app[worker.1]: NODE_MODULE_VERSION 72. Please try re-compiling or re-installing
2021-06-10T09:31:20.211748+00:00 app[worker.1]: the module (for instance, using
npm rebuild
ornpm install
).2021-06-10T09:31:20.211748+00:00 app[worker.1]: at Object.Module._extensions..node (internal/modules/cjs/loader.js:1003:18)
2021-06-10T09:31:20.211748+00:00 app[worker.1]: at Module.load (internal/modules/cjs/loader.js:812:32)
2021-06-10T09:31:20.211749+00:00 app[worker.1]: at Function.Module._load (internal/modules/cjs/loader.js:724:14)
2021-06-10T09:31:20.211749+00:00 app[worker.1]: at Module.require (internal/modules/cjs/loader.js:849:19)
2021-06-10T09:31:20.211750+00:00 app[worker.1]: at require (internal/modules/cjs/helpers.js:74:18)
2021-06-10T09:31:20.211750+00:00 app[worker.1]: at Object. (/app/node_modules/node-pty/lib/unixTerminal.js:26:11)
2021-06-10T09:31:20.211751+00:00 app[worker.1]: at Module._compile (internal/modules/cjs/loader.js:956:30)
2021-06-10T09:31:20.211751+00:00 app[worker.1]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:973:10)
2021-06-10T09:31:20.211751+00:00 app[worker.1]: at Module.load (internal/modules/cjs/loader.js:812:32)
2021-06-10T09:31:20.211752+00:00 app[worker.1]: at Function.Module._load (internal/modules/cjs/loader.js:724:14)
2021-06-10T09:31:20.243797+00:00 app[worker.1]: npm ERR! code ELIFECYCLE
2021-06-10T09:31:20.245429+00:00 app[worker.1]: npm ERR! errno 1
2021-06-10T09:31:20.254345+00:00 app[worker.1]: npm ERR! [email protected] start:
node server.js
2021-06-10T09:31:20.254586+00:00 app[worker.1]: npm ERR! Exit status 1
2021-06-10T09:31:20.254877+00:00 app[worker.1]: npm ERR!
2021-06-10T09:31:20.255141+00:00 app[worker.1]: npm ERR! Failed at the [email protected] start script.
2021-06-10T09:31:20.255413+00:00 app[worker.1]: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
2021-06-10T09:31:20.262637+00:00 app[worker.1]:
2021-06-10T09:31:20.262995+00:00 app[worker.1]: npm ERR! A complete log of this run can be found in:
2021-06-10T09:31:20.263254+00:00 app[worker.1]: npm ERR! /app/.npm/_logs/2021-06-10T09_31_20_256Z-debug.log
2021-06-10T09:31:24.389789+00:00 app[worker.1]: Error waiting for network: Resource temporarily unavailable
2021-06-10T09:31:26.973699+00:00 heroku[worker.1]: Starting process with command
npm start
2021-06-10T09:31:27.639131+00:00 heroku[worker.1]: State changed from starting to up
2021-06-10T09:31:29.873589+00:00 heroku[worker.1]: Process exited with status 1
2021-06-10T09:31:29.947884+00:00 heroku[worker.1]: State changed from up to crashed
2021-06-10T09:31:29.684662+00:00 app[worker.1]:
The text was updated successfully, but these errors were encountered: