These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

heroku help node

Author
shawn312
Cloaked Goof
Goonswarm Federation
#1 - 2017-05-27 00:56:00 UTC
i have a app the runs just find with npm start it works but on pushing to heroku no longer works here is the sever logs


2017-05-27T00:49:46.923871+00:00 app[web.1]: > node ./node_modules/webpack-dev-server/bin/webpack-dev-server.js "index.html"
2017-05-27T00:49:46.923872+00:00 app[web.1]:
2017-05-27T00:49:46.976958+00:00 app[web.1]: module.js:472
2017-05-27T00:49:46.976962+00:00 app[web.1]:     throw err;
2017-05-27T00:49:46.976963+00:00 app[web.1]:     ^
2017-05-27T00:49:46.976963+00:00 app[web.1]:
2017-05-27T00:49:46.976964+00:00 app[web.1]: Error: Cannot find module '/app/node_modules/webpack-dev-server/bin/webpack-dev-server.js'
2017-05-27T00:49:46.976965+00:00 app[web.1]:     at Function.Module._resolveFilename (module.js:470:15)
2017-05-27T00:49:46.976966+00:00 app[web.1]:     at Function.Module._load (module.js:418:25)
2017-05-27T00:49:46.976967+00:00 app[web.1]:     at Module.runMain (module.js:605:10)
2017-05-27T00:49:46.976967+00:00 app[web.1]:     at run (bootstrap_node.js:427:7)
2017-05-27T00:49:46.976968+00:00 app[web.1]:     at startup (bootstrap_node.js:148:9)
2017-05-27T00:49:46.976969+00:00 app[web.1]:     at bootstrap_node.js:542:3
2017-05-27T00:49:46.981093+00:00 app[web.1]:
2017-05-27T00:49:46.987769+00:00 app[web.1]: npm ERR! Linux 3.13.0-112-generic
2017-05-27T00:49:46.987949+00:00 app[web.1]: npm ERR! argv "/app/.heroku/node/bin/node" "/app/.heroku/node/bin/npm" "start" "index.html"
2017-05-27T00:49:46.988086+00:00 app[web.1]: npm ERR! node v7.7.4
2017-05-27T00:49:46.988202+00:00 app[web.1]: npm ERR! npm  v4.1.2
2017-05-27T00:49:46.988324+00:00 app[web.1]: npm ERR! code ELIFECYCLE
2017-05-27T00:49:46.988428+00:00 app[web.1]: npm ERR! redux-simple-starter@1.0.0 start: `node ./node_modules/webpack-dev-server/bin/webpack-dev-server.js "index.html"`
2017-05-27T00:49:46.988511+00:00 app[web.1]: npm ERR! Exit status 1
2017-05-27T00:49:46.988609+00:00 app[web.1]: npm ERR!
2017-05-27T00:49:46.988689+00:00 app[web.1]: npm ERR! Failed at the redux-simple-starter@1.0.0 start script 'node ./node_modules/webpack-dev-server/bin/webpack-dev-server.js "index.html"'.
2017-05-27T00:49:46.988769+00:00 app[web.1]: npm ERR! Make sure you have the latest version of node.js and npm installed.
2017-05-27T00:49:46.988848+00:00 app[web.1]: npm ERR! If you do, this is most likely a problem with the redux-simple-starter package,
2017-05-27T00:49:46.988929+00:00 app[web.1]: npm ERR! not with npm itself.
2017-05-27T00:49:46.989016+00:00 app[web.1]: npm ERR! Tell the author that this fails on your system:
2017-05-27T00:49:46.989097+00:00 app[web.1]: npm ERR!     node ./node_modules/webpack-dev-server/bin/webpack-dev-server.js "index.html"
2017-05-27T00:49:46.989179+00:00 app[web.1]: npm ERR! You can get information on how to open an issue for this project with:
2017-05-27T00:49:46.989259+00:00 app[web.1]: npm ERR!     npm bugs redux-simple-starter
2017-05-27T00:49:46.989342+00:00 app[web.1]: npm ERR! Or if that isn't available, you can get their info via:
2017-05-27T00:49:46.989423+00:00 app[web.1]: npm ERR!     npm owner ls redux-simple-starter
2017-05-27T00:49:46.989502+00:00 app[web.1]: npm ERR! There is likely additional logging output above.
2017-05-27T00:49:46.992706+00:00 app[web.1]:
2017-05-27T00:49:46.992847+00:00 app[web.1]: npm ERR! Please include the following file with any support request:
2017-05-27T00:49:46.992917+00:00 app[web.1]: npm ERR!     /app/npm-debug.log
2017-05-27T00:49:47.053042+00:00 heroku[web.1]: State changed from starting to crashed
2017-05-27T00:49:47.054411+00:00 heroku[web.1]: State changed from crashed to starting
2017-05-27T00:49:47.052653+00:00 heroku[web.1]: Process exited with status 1
2017-05-27T00:49:49.327335+00:00 heroku[web.1]: Starting process with command `npm start index.html`
2017-05-27T00:49:51.477499+00:00 app[web.1]:
2017-05-27T00:49:51.477511+00:00 app[web.1]: > redux-simple-starter@1.0.0 start /app
2017-05-27T00:49:51.477513+00:00 app[web.1]: > node ./node_modules/webpack-dev-server/bin/webpack-dev-server.js "index.html"
2017-05-27T00:49:51.477513+00:00 app[web.1]:
2017-05-27T00:49:51.568046+00:00 app[web.1]: module.js:472
2017-05-27T00:49:51.568050+00:00 app[web.1]:     throw err;
2017-05-27T00:49:51.568051+00:00 app[web.1]:     ^
2017-05-27T00:49:51.568052+00:00 app[web.1]:
2017-05-27T00:49:51.568053+00:00 app[web.1]: Error: Cannot find module '/app/node_modules/webpack-dev-server/bin/webpack-dev-server.js'
2017-05-27T00:49:51.568054+00:00 app[web.1]:     at Function.Module._resolveFilename (module.js:470:15)
2017-05-27T00:49:51.568054+00:00 app[web.1]:     at Function.Module._load (module.js:418:25)
2017-05-27T00:49:51.568055+00:00 app[web.1]:     at Module.runMain (module.js:605:10)
2017-05-27T00:49:51.568056+00:00 app[web.1]:     at run (bootstrap_node.js:427:7)
2017-05-27T00:49:51.568056+00:00 app[web.1]:     at startup (bootstrap_node.js:148:9)
2017-05-27T00:49:51.568057+00:00 app[web.1]:     at bootstrap_node.js:542:3
2017-05-27T00:49:51.575916+00:00 app[web.1]:
2017-05-27T00:49:51.587470+00:00 app[web.1]: npm ERR! Linux 3.13.0-112-generic
2017-05-27T00:49:51.587739+00:00 app[web.1]: npm ERR! argv "/app/.heroku/node/bin/node" "/app/.heroku/node/bin/npm" "start" "index.html"
2017-05-27T00:49:51.587960+00:00 app[web.1]: npm ERR! node v7.7.4
2017-05-27T00:49:51.588179+00:00 app[web.1]: npm ERR! npm  v4.1.2
2017-05-27T00:49:51.588399+00:00 app[web.1]: npm ERR! code ELIFECYCLE
2017-05-27T00:49:51.588565+00:00 app[web.1]: npm ERR! redux-simple-starter@1.0.0 start: `node ./node_modules/webpack-dev-server/bin/webpack-dev-server.js "index.html"`
2017-05-27T00:49:51.588714+00:00 app[web.1]: npm ERR! Exit status 1

............

any ideas