Application Error - Problem Heroku commit - node.js

I am Trying to commit my Node App to Heroku and i Get Heroku Application Error.
Can someone help me please .
I followed A video from Youtube to Upload the project.
1. git push heroku master Everything up-to-date
2. heroku open Opening https://lintim3.herokuapp.com/
3. heroku restart Restartin processes... done
An error occurred in the application and your page could not be served.
If you are the application owner, check your logs for details.
You can do this from the Heroku CLI with the command.
Heroku LOGS
heroku logs --tail
2021-01-22T23:42:13.269418+00:00 app[web.1]:enter code here npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
2021-01-22T23:42:13.276924+00:00 app[web.1]:
2021-01-22T23:42:13.277129+00:00 app[web.1]: npm ERR! A complete log of this run can be found in:
2021-01-22T23:42:13.277280+00:00 app[web.1]: npm ERR! /app/.npm/_logs/2021-01-22T23_42_13_271Z-debug.log
2021-01-22T23:42:13.324388+00:00 heroku[web.1]: Process exited with status 1
2021-01-22T23:42:13.360547+00:00 heroku[web.1]: State changed from starting to crashed
2021-01-22T23:42:13.364076+00:00 heroku[web.1]: State changed from crashed to starting
2021-01-22T23:42:18.774281+00:00 heroku[web.1]: Starting process with command `npm start`
2021-01-22T23:42:22.272989+00:00 app[web.1]:
2021-01-22T23:42:22.273002+00:00 app[web.1]: > chat#1.0.0 start /app
2021-01-22T23:42:22.273003+00:00 app[web.1]: > npm run start-production-server
2021-01-22T23:42:22.273003+00:00 app[web.1]:
2021-01-22T23:42:23.069256+00:00 app[web.1]:
2021-01-22T23:42:23.069268+00:00 app[web.1]: > chat#1.0.0 start-production-server /app
2021-01-22T23:42:23.069269+00:00 app[web.1]: > pm2 start server/server.js --name dev.socialmedia --watch
2021-01-22T23:42:23.069270+00:00 app[web.1]:
2021-01-22T23:42:23.094232+00:00 app[web.1]: sh: 1: pm2: not found
2021-01-22T23:42:23.109410+00:00 app[web.1]: npm ERR! code ELIFECYCLE
2021-01-22T23:42:23.110342+00:00 app[web.1]: npm ERR! syscall spawn
2021-01-22T23:42:23.110846+00:00 app[web.1]: npm ERR! file sh
2021-01-22T23:42:23.111312+00:00 app[web.1]: npm ERR! errno ENOENT
2021-01-22T23:42:23.121190+00:00 app[web.1]: npm ERR! chat#1.0.0 start-production-server: `pm2 start server/server.js --name dev.socialmedia --watch`
2021-01-22T23:42:23.121435+00:00 app[web.1]: npm ERR! spawn ENOENT
2021-01-22T23:42:23.121699+00:00 app[web.1]: npm ERR!
2021-01-22T23:42:23.121960+00:00 app[web.1]: npm ERR! Failed at the chat#1.0.0 start-production-server script.
2021-01-22T23:42:23.122190+00:00 app[web.1]: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
2021-01-22T23:42:23.145479+00:00 app[web.1]:
2021-01-22T23:42:23.145951+00:00 app[web.1]: npm ERR! A complete log of this run can be found in:
2021-01-22T23:42:23.146271+00:00 app[web.1]: npm ERR! /app/.npm/_logs/2021-01-22T23_42_23_123Z-debug.log
2021-01-22T23:42:23.171905+00:00 app[web.1]: npm ERR! code ELIFECYCLE
2021-01-22T23:42:23.172569+00:00 app[web.1]: npm ERR! errno 1
2021-01-22T23:42:23.186798+00:00 app[web.1]: npm ERR! chat#1.0.0 start: `npm run start-production-server`
2021-01-22T23:42:23.187154+00:00 app[web.1]: npm ERR! Exit status 1
2021-01-22T23:42:23.187537+00:00 app[web.1]: npm ERR!
2021-01-22T23:42:23.187866+00:00 app[web.1]: npm ERR! Failed at the chat#1.0.0 start script.
2021-01-22T23:42:23.188184+00:00 app[web.1]: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
2021-01-22T23:42:23.199918+00:00 app[web.1]:
2021-01-22T23:42:23.200385+00:00 app[web.1]: npm ERR! A complete log of this run can be found in:
2021-01-22T23:42:23.200698+00:00 app[web.1]: npm ERR! /app/.npm/_logs/2021-01-22T23_42_23_189Z-debug.log
2021-01-22T23:42:23.273146+00:00 heroku[web.1]: Process exited with status 1
2021-01-22T23:42:23.326833+00:00 heroku[web.1]: State changed from starting to crashed
2021-01-22T23:43:47.358906+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=lintim3.herokuapp.com request_id=b56b6f67-f15f-47d3-86d2-29ce4196b3b1 fwd="84.165.174.74" dyno= connect= service= status=503 bytes= protocol=https
2021-01-22T23:43:47.734588+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=lintim3.herokuapp.com request_id=533374ab-75af-440c-90af-d8bba074a8e0 fwd="84.165.174.74" dyno= connect= service= status=503 bytes= protocol=https
2021-01-22T23:48:23.802056+00:00 heroku[web.1]: State changed from crashed to starting
2021-01-22T23:48:28.564574+00:00 heroku[web.1]: Starting process with command `npm start`
2021-01-22T23:48:32.180506+00:00 app[web.1]:
2021-01-22T23:48:32.180530+00:00 app[web.1]: > chat#1.0.0 start /app
2021-01-22T23:48:32.180530+00:00 app[web.1]: > npm run start-production-server
2021-01-22T23:48:32.180531+00:00 app[web.1]:
2021-01-22T23:48:32.872563+00:00 app[web.1]:
2021-01-22T23:48:32.872622+00:00 app[web.1]: > chat#1.0.0 start-production-server /app
2021-01-22T23:48:32.872623+00:00 app[web.1]: > pm2 start server/server.js --name dev.socialmedia --watch
2021-01-22T23:48:32.872623+00:00 app[web.1]:
2021-01-22T23:48:32.887354+00:00 app[web.1]: sh: 1: pm2: not found
2021-01-22T23:48:32.901575+00:00 app[web.1]: npm ERR! code ELIFECYCLE
2021-01-22T23:48:32.902212+00:00 app[web.1]: npm ERR! syscall spawn
2021-01-22T23:48:32.902768+00:00 app[web.1]: npm ERR! file sh
2021-01-22T23:48:32.903476+00:00 app[web.1]: npm ERR! errno ENOENT
2021-01-22T23:48:32.914065+00:00 app[web.1]: npm ERR! chat#1.0.0 start-production-server: `pm2 start server/server.js --name dev.socialmedia --watch`
2021-01-22T23:48:32.914366+00:00 app[web.1]: npm ERR! spawn ENOENT
2021-01-22T23:48:32.914929+00:00 app[web.1]: npm ERR!
2021-01-22T23:48:32.915288+00:00 app[web.1]: npm ERR! Failed at the chat#1.0.0 start-production-server script.
2021-01-22T23:48:32.915595+00:00 app[web.1]: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
2021-01-22T23:48:32.930361+00:00 app[web.1]:
2021-01-22T23:48:32.937000+00:00 app[web.1]: npm ERR! A complete log of this run can be found in:
2021-01-22T23:48:32.937307+00:00 app[web.1]: npm ERR! /app/.npm/_logs/2021-01-22T23_48_32_917Z-debug.log
2021-01-22T23:48:32.958379+00:00 app[web.1]: npm ERR! code ELIFECYCLE
2021-01-22T23:48:32.959887+00:00 app[web.1]: npm ERR! errno 1
2021-01-22T23:48:32.974082+00:00 app[web.1]: npm ERR! chat#1.0.0 start: `npm run start-production-server`
2021-01-22T23:48:32.974422+00:00 app[web.1]: npm ERR! Exit status 1
2021-01-22T23:48:32.974789+00:00 app[web.1]: npm ERR!
2021-01-22T23:48:32.975090+00:00 app[web.1]: npm ERR! Failed at the chat#1.0.0 start script.
2021-01-22T23:48:32.975361+00:00 app[web.1]: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
2021-01-22T23:48:32.983706+00:00 app[web.1]:
2021-01-22T23:48:32.984907+00:00 app[web.1]: npm ERR! A complete log of this run can be found in:
2021-01-22T23:48:32.985218+00:00 app[web.1]: npm ERR! /app/.npm/_logs/2021-01-22T23_48_32_976Z-debug.log
2021-01-22T23:48:33.089845+00:00 heroku[web.1]: Process exited with status 1
2021-01-22T23:48:33.163248+00:00 heroku[web.1]: State changed from starting to crashed
2021-01-22T23:48:33.638614+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=lintim3.herokuapp.com request_id=b9ac3901-5fcb-40f2-8420-0464e8e30f34 fwd="84.165.174.74" dyno= connect= service= status=503 bytes= protocol=https
2021-01-22T23:48:33.799962+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=lintim3.herokuapp.com request_id=44c43e53-8f8e-4d66-9dcf-44146fc9a18e fwd="84.165.174.74" dyno= connect= service= status=503 bytes= protocol=https
2021-01-22T23:48:33.961000+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=lintim3.herokuapp.com request_id=8fe5133f-cd5d-4ec9-ae82-52fd9f539261 fwd="84.165.174.74" dyno= connect= service= status=503 bytes= protocol=https
2021-01-22T23:48:34.215805+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=lintim3.herokuapp.com request_id=604136f0-82cd-40fa-bdc4-ce8df0892566 fwd="84.165.174.74" dyno= connect= service= status=503 bytes= protocol=https
2021-01-22T23:48:34.287166+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=lintim3.herokuapp.com request_id=f9e35331-4d75-4a54-9cf8-774562d3b2d9 fwd="84.165.174.74" dyno= connect= service= status=503 bytes= protocol=https
2021-01-22T23:48:35.456617+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=lintim3.herokuapp.com request_id=e4f3e1c9-d207-47b9-b20b-214afdb7da1a fwd="84.165.174.74" dyno= connect= service= status=503 bytes= protocol=https
2021-01-22T23:48:35.692999+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=lintim3.herokuapp.com request_id=c2e27ca4-4f29-4e09-9555-7a86f522813c fwd="84.165.174.74" dyno= connect= service= status=503 bytes= protocol=https
2021-01-22T23:49:24.202241+00:00 app[api]: Starting process with command `rake db:migrate` by user hasanovh14#gmail.com
2021-01-22T23:49:28.884962+00:00 heroku[run.5646]: State changed from starting to up
2021-01-22T23:49:29.050982+00:00 heroku[run.5646]: Awaiting client
2021-01-22T23:49:29.077371+00:00 heroku[run.5646]: Starting process with command `rake db:migrate`
2021-01-22T23:49:33.675679+00:00 heroku[run.5646]: Process exited with status 1
2021-01-22T23:49:33.716695+00:00 heroku[run.5646]: State changed from up to complete
2021-01-22T23:49:38.564580+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=lintim3.herokuapp.com request_id=b0978990-9f86-48f2-8107-57a54c40d4ce fwd="84.165.174.74" dyno= connect= service= status=503 bytes= protocol=https
2021-01-22T23:49:38.830155+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=lintim3.herokuapp.com request_id=ba0f42ae-9c27-4936-b2e1-6aca48b4534f fwd="84.165.174.74" dyno= connect= service= status=503 bytes= protocol=https
2021-01-22T23:49:39.371118+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=lintim3.herokuapp.com request_id=e35012bf-3184-4b99-a567-b5567fc49564 fwd="84.165.174.74" dyno= connect= service= status=503 bytes= protocol=https
2021-01-22T23:49:39.569871+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=lintim3.herokuapp.com request_id=06bb424f-9cd9-4714-a783-ba328919b7a7 fwd="84.165.174.74" dyno= connect= service= status=503 bytes= protocol=https
2021-01-22T23:49:39.723090+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=lintim3.herokuapp.com request_id=a5809903-11a3-40de-858b-dedf2ffee4d3 fwd="84.165.174.74" dyno= connect= service= status=503 bytes= protocol=https
2021-01-22T23:49:39.930554+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=lintim3.herokuapp.com request_id=62aaa41d-93a2-4c1c-a9c0-5a608731e36d fwd="84.165.174.74" dyno= connect= service= status=503 bytes= protocol=https
2021-01-22T23:49:40.664719+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=lintim3.herokuapp.com request_id=c289b0c2-a25e-4948-896a-96466fb8c671 fwd="84.165.174.74" dyno= connect= service= status=503 bytes= protocol=https
2021-01-22T23:49:40.869988+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=lintim3.herokuapp.com request_id=bc80d13b-6b38-4cb8-a4a9-4e35076c255b fwd="84.165.174.74" dyno= connect= service= status=503 bytes= protocol=https
2021-01-22T23:49:41.062316+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=lintim3.herokuapp.com request_id=9ea30fe3-095e-4f81-9643-296205110521 fwd="84.165.174.74" dyno= connect= service= status=503 bytes= protocol=https
on localhost ist working Perfectly

Related

How do I resolve my deployment 'application error' on Heroku?

Someone suggested Heroku. I connected it to my github. After deploying it tells me application error see below:
"
Application Logs
2021-05-13T05:33:11.974735+00:00 heroku[web.1]: State changed from crashed to starting
2021-05-13T05:33:17.434161+00:00 heroku[web.1]: Starting process with command `npm start`
2021-05-13T05:33:21.152639+00:00 app[web.1]: npm ERR! missing script: start
2021-05-13T05:33:21.177166+00:00 app[web.1]:
2021-05-13T05:33:21.179883+00:00 app[web.1]: npm ERR! A complete log of this run can be found in:
2021-05-13T05:33:21.183465+00:00 app[web.1]: npm ERR! /app/.npm/_logs/2021-05-13T05_33_21_153Z-debug.log
2021-05-13T05:33:21.253969+00:00 heroku[web.1]: Process exited with status 1
2021-05-13T05:33:21.354019+00:00 heroku[web.1]: State changed from starting to crashed
2021-05-13T05:33:22.611937+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=intelhubdev.herokuapp.com request_id=56993659-8105-4f1a-b1a0-ff53a2c65ae2 fwd="197.210.45.44" dyno= connect= service= status=503 bytes= protocol=https
2021-05-13T05:33:23.853075+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=intelhubdev.herokuapp.com request_id=fbd4eed8-7477-4de3-b3a2-6438c536c470 fwd="197.210.45.44" dyno= connect= service= status=503 bytes= protocol=https"

My JS app on Heroku gets deployed but the application shows error in the server side build

I deployed a Heroku app using the CLI. The code is based in JS(Node).
The log displayed the following message-
2020-11-19T18:13:19.981359+00:00 heroku[web.1]: State changed from crashed to starting
2020-11-19T18:13:32.577655+00:00 heroku[web.1]: Starting process with command `npm start`
2020-11-19T18:13:35.931851+00:00 app[web.1]:
2020-11-19T18:13:35.931868+00:00 app[web.1]: > server#1.0.0 start /app
2020-11-19T18:13:35.931868+00:00 app[web.1]: > concurrently "npm run server" "npm run client"
2020-11-19T18:13:35.931869+00:00 app[web.1]:
2020-11-19T18:13:35.941884+00:00 app[web.1]: sh: 1: concurrently: not found
2020-11-19T18:13:35.951483+00:00 app[web.1]: npm ERR! code ELIFECYCLE
2020-11-19T18:13:35.951777+00:00 app[web.1]: npm ERR! syscall spawn
2020-11-19T18:13:35.952007+00:00 app[web.1]: npm ERR! file sh
2020-11-19T18:13:35.952258+00:00 app[web.1]: npm ERR! errno ENOENT
2020-11-19T18:13:35.957255+00:00 app[web.1]: npm ERR! server#1.0.0 start: `concurrently "npm run server" "npm run client"`
2020-11-19T18:13:35.957411+00:00 app[web.1]: npm ERR! spawn ENOENT
2020-11-19T18:13:35.957579+00:00 app[web.1]: npm ERR!
2020-11-19T18:13:35.957727+00:00 app[web.1]: npm ERR! Failed at the server#1.0.0 start script.
2020-11-19T18:13:35.957859+00:00 app[web.1]: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
2020-11-19T18:13:35.968472+00:00 app[web.1]:
2020-11-19T18:13:35.968693+00:00 app[web.1]: npm ERR! A complete log of this run can be found in:
2020-11-19T18:13:35.968767+00:00 app[web.1]: npm ERR! /app/.npm/_logs/2020-11-19T18_13_35_958Z-debug.log
2020-11-19T18:13:36.042215+00:00 heroku[web.1]: Process exited with status 1
2020-11-19T18:13:36.100527+00:00 heroku[web.1]: State changed from starting to crashed
2020-11-19T18:41:07.000000+00:00 app[api]: Build started by user riteshkumarstudy#gmail.com
2020-11-19T18:41:43.985964+00:00 app[api]: Deploy 1581c630 by user riteshkumarstudy#gmail.com
2020-11-19T18:41:43.985964+00:00 app[api]: Release v4 created by user riteshkumarstudy#gmail.com
ll be removed in a future version. To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor.
2020-11-19T18:42:59.987409+00:00 app[web.1]: Server listening on port 3001
2020-11-19T18:43:00.110366+00:00 app[web.1]: (node:4) DeprecationWarning: collection.ensureIndex is deprecated. Use createIndexes instead.
2020-11-19T18:43:16.984202+00:00 heroku[router]: at=error code=H20 desc="App boot timeout" method=GET path="/" host=pacific-scrubland-58982.herokuapp.com request_id=e41c2163-819d-4d95-a87a-48e84acfd06e fwd="223.225.248.157" dyno= connect= service= status=503 bytes= protocol=https
2020-11-19T18:43:55.839112+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2020-11-19T18:43:55.866993+00:00 heroku[web.1]: Stopping process with SIGKILL
2020-11-19T18:43:56.004273+00:00 heroku[web.1]: Process exited with status 137
2020-11-19T18:43:56.057821+00:00 heroku[web.1]: State changed from starting to crashed
2020-11-19T18:43:56.610979+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=pacific-scrubland-58982.herokuapp.com request_id=f941b09d-91ae-4ddb-87c1-96a66d8c8912 fwd="223.225.248.157" dyno= connect= service= status=503 bytes= protocol=https
2020-11-19T18:43:57.136454+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=pacific-scrubland-58982.herokuapp.com request_id=be1491ea-8d01-4b37-9902-6e93678ba0b6 fwd="223.225.248.157" dyno= connect= service= status=503 bytes= protocol=https
2020-11-19T18:43:58.163525+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=pacific-scrubland-58982.herokuapp.com request_id=c304480a-ca92-4bf0-9ef2-837931f38d55 fwd="223.225.248.157" dyno= connect= service= status=503 bytes= protocol=https
2020-11-19T18:43:58.312956+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=pacific-scrubland-58982.herokuapp.com request_id=7334f985-397f-4f3e-b667-99fd19831635 fwd="223.225.248.157" dyno= connect= service= status=503 bytes= protocol=https
The link to the repo is https://github.com/CSAIDept/Final-Combined-Pages
Need help on what to do next?
I used the https://github.com/mars/create-react-app-buildpack to deploy this app.
You installed concurrently as a dev dependency, Heroku will not install devDependency. Try adding concurrently to normal dependency in package.json and try again

Heroku log errors

Trying to deploy Node.js app on heroku but getting following errors. Can anyone help me with where am I going wrong.
2018-06-29T00:01:21.641247+00:00 app[web.1]: npm ERR!
2018-06-29T00:01:21.641578+00:00 app[web.1]: npm ERR! Failed at the v1#1.0.0 start script.
2018-06-29T00:01:21.641895+00:00 app[web.1]: npm ERR! This is probably not a problem with npm. There is likely additional logging
output above.
2018-06-29T00:01:21.660378+00:00 app[web.1]: npm ERR! A complete log of this run can be found in:
2018-06-29T00:01:21.659090+00:00 app[web.1]:
2018-06-29T00:01:21.660779+00:00 app[web.1]: npm ERR! /app/.npm/_logs/2018-06-29T00_01_21_645Z-debug.log
2018-06-29T00:01:21.758849+00:00 heroku[web.1]: State changed from starting to crashed
2018-06-29T00:01:21.736544+00:00 heroku[web.1]: Process exited with status 1
2018-06-29T00:01:22.688914+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=campground-.herokuapp.com
request_id=7b46f802-439e-4038-85f4-882fbd765417 fwd="139.94.66.0"
dyno= connect= service= status=503 bytes= protocol=https
2018-06-29T00:01:23.464401+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico"
host=campground-.herokuapp.com
request_id=fe27806a-8390-431f-ba14-233625c388cf fwd="139.94.66.0"
dyno= connect= service= status=503 bytes= protocol=https
2018-06-29T00:09:27.204098+00:00 heroku[web.1]: State changed from crashed to starting
2018-06-29T00:09:32.209782+00:00 heroku[web.1]: Starting process with command npm start
2018-06-29T00:09:35.411423+00:00 app[web.1]:
2018-06-29T00:09:35.411450+00:00 app[web.1]: > v1#1.0.0 start /app
2018-06-29T00:09:35.411452+00:00 app[web.1]: > node app.js
2018-06-29T00:09:35.411454+00:00 app[web.1]:
enter image description here

Running Heroku through Terminal without success

I am trying to run through Terminal an app that I created on Heroku and I pushed my code to Heroku but when try to run in and my browser is up I get this error :
"An error occurred in the application and your page could not be served. Please try again in a few moments.
If you are the application owner, check your logs for details."
In the Heroku logs I get this :
2016-04-16T08:06:37.028300+00:00 heroku[api]: Enable Logplex by tommyahav#gmail.com
2016-04-16T08:06:37.028300+00:00 heroku[api]: Release v2 created by tommyahav#gmail.com
2016-04-16T08:11:17.934258+00:00 heroku[api]: Scale to web=1 by tommyahav#gmail.com
2016-04-16T08:11:17.998349+00:00 heroku[api]: Deploy d49f451 by tommyahav#gmail.com
2016-04-16T08:11:17.998349+00:00 heroku[api]: Release v3 created by tommyahav#gmail.com
2016-04-16T08:11:18.444546+00:00 heroku[slug-compiler]: Slug compilation started
2016-04-16T08:11:18.444556+00:00 heroku[slug-compiler]: Slug compilation finished
2016-04-16T08:11:20.996842+00:00 heroku[web.1]: Starting process with command `npm start`
2016-04-16T08:11:24.058359+00:00 app[web.1]: npm ERR! Linux 3.13.0-79-generic
2016-04-16T08:11:24.071525+00:00 app[web.1]: npm ERR! argv "/app/.heroku/node/bin/node" "/app/.heroku/node/bin/npm" "start"
2016-04-16T08:11:24.075928+00:00 app[web.1]: npm ERR! node v5.10.0
2016-04-16T08:11:24.077165+00:00 app[web.1]: npm ERR! npm v3.8.3
2016-04-16T08:11:24.104687+00:00 app[web.1]: npm ERR! <https://github.com/npm/npm/issues>
2016-04-16T08:11:24.104275+00:00 app[web.1]: npm ERR! If you need help, you may report this error at:
2016-04-16T08:11:24.126366+00:00 app[web.1]:
2016-04-16T08:11:24.103431+00:00 app[web.1]: npm ERR! missing script: start
2016-04-16T08:11:24.126822+00:00 app[web.1]: npm ERR! Please include the following file with any support request:
2016-04-16T08:11:24.127038+00:00 app[web.1]: npm ERR! /app/npm-debug.log
2016-04-16T08:11:24.094153+00:00 app[web.1]:
2016-04-16T08:11:24.104022+00:00 app[web.1]: npm ERR!
2016-04-16T08:11:25.136368+00:00 heroku[web.1]: Process exited with status 1
2016-04-16T08:11:25.157435+00:00 heroku[web.1]: State changed from crashed to starting
2016-04-16T08:11:25.156030+00:00 heroku[web.1]: State changed from starting to crashed
2016-04-16T08:11:26.642881+00:00 heroku[web.1]: Starting process with command `npm start`
2016-04-16T08:11:29.940545+00:00 app[web.1]: npm ERR! Linux 3.13.0-79-generic
2016-04-16T08:11:29.941387+00:00 app[web.1]: npm ERR! argv "/app/.heroku/node/bin/node" "/app/.heroku/node/bin/npm" "start"
2016-04-16T08:11:29.941913+00:00 app[web.1]: npm ERR! node v5.10.0
2016-04-16T08:11:29.942627+00:00 app[web.1]: npm ERR! npm v3.8.3
2016-04-16T08:11:29.944449+00:00 app[web.1]:
2016-04-16T08:11:29.945912+00:00 app[web.1]: npm ERR! missing script: start
2016-04-16T08:11:29.946108+00:00 app[web.1]: npm ERR!
2016-04-16T08:11:29.946249+00:00 app[web.1]: npm ERR! If you need help, you may report this error at:
2016-04-16T08:11:29.946394+00:00 app[web.1]: npm ERR! <https://github.com/npm/npm/issues>
2016-04-16T08:11:29.979159+00:00 app[web.1]:
2016-04-16T08:11:29.979436+00:00 app[web.1]: npm ERR! Please include the following file with any support request:
2016-04-16T08:11:29.979573+00:00 app[web.1]: npm ERR! /app/npm-debug.log
2016-04-16T08:11:31.099494+00:00 heroku[web.1]: Process exited with status 1
2016-04-16T08:11:31.111785+00:00 heroku[web.1]: State changed from starting to crashed
2016-04-16T08:11:41.679507+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=targil0.herokuapp.com request_id=b0e6c517-19bf-4fe9-b2ae-10a66a8531b7 fwd="79.183.166.1" dyno= connect= service= status=503 bytes=
2016-04-16T08:11:42.011245+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=targil0.herokuapp.com request_id=5d888504-10b6-494c-97ba-300363c40ea8 fwd="79.183.166.1" dyno= connect= service= status=503 bytes=
2016-04-16T08:12:33.276559+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=targil0.herokuapp.com request_id=a3bbb3d2-1b15-428f-8bc9-c084820d07b3 fwd="79.183.166.1" dyno= connect= service= status=503 bytes=
2016-04-16T08:12:33.719142+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=targil0.herokuapp.com request_id=80f9fca8-8edd-40f1-876e-fd0d7c4629e8 fwd="79.183.166.1" dyno= connect= service= status=503 bytes=
2016-04-16T08:12:34.583904+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=targil0.herokuapp.com request_id=f05e3322-020e-402a-abaf-3066b70f7524 fwd="79.183.166.1" dyno= connect= service= status=503 bytes=
2016-04-16T08:12:35.024463+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=targil0.herokuapp.com request_id=abe440c1-e342-42c3-be8e-66534a27b9ed fwd="79.183.166.1" dyno= connect= service= status=503 bytes=
2016-04-16T08:12:56.404658+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=targil0.herokuapp.com request_id=6fa70ad5-bf10-4eb0-b3c6-e449a90ffadf fwd="79.183.166.1" dyno= connect= service= status=503 bytes=
2016-04-16T08:12:56.750374+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=targil0.herokuapp.com request_id=c188c52c-6117-4bcf-878c-a85892230160 fwd="79.183.166.1" dyno= connect= service= status=503 bytes=
2016-04-16T08:13:44.397134+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=targil0.herokuapp.com request_id=9b61b821-4e3f-411f-89b0-2e8d50fdbc80 fwd="79.183.166.1" dyno= connect= service= status=503 bytes=
2016-04-16T08:13:44.741220+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=targil0.herokuapp.com request_id=ff9b279c-6c23-4abc-bf9d-1b8f09964d5f fwd="79.183.166.1" dyno= connect= service= status=503 bytes=
Please help me and tell what I did wrong.
Thank you,
The important part is:
argv "/app/.heroku/node/bin/node" "/app/.heroku/node/bin/npm" "start"
missing script: start
Heroku is complaining it can't find the script you're telling it to launch.
Please print your Procfile, and scripts like index.js or package.json, depending on what your Procfile says.
If you didn't add a Procfile to your project root, then the default npm start is used, so you need a "scripts.start" property in the package.json file. So please print it :)
You may have a look at the Heroku guidelines (Getting started and Support) that deal with the Node deployment.

Application error on heroku deployment: .. error occurred in the application and your page could not be served node.js?

I don't understand... my app is being deployed but it does not serve in the webpage, does anybody know whats wrong? I can't figure it out! everything appears to be fine I don't see where the error lies.
2014-05-05T12:47:54.828189+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=stormy-brushlands-6191.herokuapp.com request_id=25006d4c-fc57-4404-827d-ba99c41e398d fwd="194.81.199.110" dyno= connect= service= status=503 bytes=
2014-05-05T12:56:34.291229+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=stormy-brushlands-6191.herokuapp.com request_id=9c5d12b3-e8c4-4bb3-a3ae-e9b317518e58 fwd="194.81.199.110" dyno= connect= service= status=503 bytes=
2014-05-05T12:59:41.039340+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=stormy-brushlands-6191.herokuapp.com request_id=89fe663e-628b-467f-ac3b-f3a53ddc1451 fwd="194.81.199.110" dyno= connect= service= status=503 bytes=
2014-05-05T13:01:03.544661+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=stormy-brushlands-6191.herokuapp.com request_id=bd53f160-115c-4558-a432-ed7b789c7bb7 fwd="194.81.199.110" dyno= connect= service= status=503 bytes=
2014-05-05T13:01:53.971879+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=stormy-brushlands-6191.herokuapp.com request_id=0d5c1d86-3ea6-46dc-b0e5-388635bde9f6 fwd="194.81.199.110" dyno= connect= service= status=503 bytes=
2014-05-05T13:01:56.444851+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=stormy-brushlands-6191.herokuapp.com request_id=dc2badca-0467-4761-bb7e-0a810cb101e8 fwd="194.81.199.110" dyno= connect= service= status=503 bytes=
2014-05-05T13:01:58.391138+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=stormy-brushlands-6191.herokuapp.com request_id=07eab76b-e59d-409e-b87a-b8efaeae05ee fwd="194.81.199.110" dyno= connect= service= status=503 bytes=
2014-05-05T13:08:04+00:00 heroku[slug-compiler]: Slug compilation started
2014-05-05T13:08:24+00:00 heroku[slug-compiler]: Slug compilation finished
2014-05-05T13:
08:24.978597+00:00 heroku[web.1]: State changed from crashed to starting
2014-05-05T13:08:24.842949+00:00 heroku[api]: Deploy b5e6656 by plimbsuni#gmail.com
2014-05-05T13:08:24.842949+00:00 heroku[api]: Release v11 created by plimbsuni#gmail.com
2014-05-05T13:08:26.788722+00:00 heroku[web.1]: Starting process with command `npm start`
2014-05-05T13:08:28.707529+00:00 app[web.1]: npm ERR! MotionTherapy#0.0.1 start: `node server.js`
2014-05-05T13:08:28.691357+00:00 app[web.1]: module.js:340
2014-05-05T13:08:28.708859+00:00 app[web.1]: npm ERR! node server.js
2014-05-05T13:08:28.707846+00:00 app[web.1]: npm ERR!
2014-05-05T13:08:28.707951+00:00 app[web.1]: npm ERR! Failed at the MotionTherapy#0.0.1 start script.
2014-05-05T13:08:28.708514+00:00 app[web.1]: npm ERR! This is most likely a problem with the MotionTherapy package,
2014-05-05T13:08:28.707701+00:00 app[web.1]: npm ERR! Exit status 8
2014-05-05T13:08:28.708625+00:00 app[web.1]: npm ERR! not with npm itself.
2014-05-05T13:08:28.708733+00:00 app[web.1]: npm ERR! Tell the author that this fails on your system:
2014-05-05T13:08:28.708967+00:00 app[web.1]: npm ERR! You can get their info via:
2014-05-05T13:08:28.709068+00:00 app[web.1]: npm ERR! npm owner ls MotionTherapy
2014-05-05T13:08:28.709206+00:00 app[web.1]: npm ERR! There is likely additional logging output above.
2014-05-05T13:08:28.709526+00:00 app[web.1]: npm ERR! System Linux 3.8.11-ec2
2014-05-05T13:08:28.709684+00:00 app[web.1]: npm ERR! command "/app/vendor/node/bin/node" "/app/vendor/node/bin/npm" "start"
2014-05-05T13:08:28.709841+00:00 app[web.1]: npm ERR! cwd /app
2014-05-05T13:08:28.709975+00:00 app[web.1]: npm ERR! node -v v0.10.28
2014-05-05T13:08:28.710110+00:00 app[web.1]: npm ERR! npm -v 1.4.9
2014-05-05T13:08:28.710230+00:00 app[web.1]: npm ERR! code ELIFECYCLE
2014-05-05T13:08:28.711774+00:00 app[web.1]: npm ERR!
2014-05-05T13:08:28.711889+00:00 app[web.1]: npm ERR! Additional logging details can be found in:
2014-05-05T13:08:28.711978+00:00 app[web.1]: npm ERR! /app/npm-debug.log
2014-05-05T13:08:28.712194+00:00 app[web.1]: npm ERR! not ok code 0
2014-05-05T13:08:28.613033+00:00 app[web.1]:
2014-05-05T13:08:28.613050+00:00 app[web.1]: > MotionTherapy#0.0.1 start /app
2014-05-05T13:08:28.613052+00:00 app[web.1]: > node server.js
2014-05-05T13:08:28.613054+00:00 app[web.1]:
2014-05-05T13:08:28.690176+00:00 app[web.1]:
2014-05-05T13:08:28.693873+00:00 app[web.1]: throw err;
2014-05-05T13:08:28.693929+00:00 app[web.1]: ^
2014-05-05T13:08:28.695957+00:00 app[web.1]: Error: Cannot find module '/app/server.js'
2014-05-05T13:08:28.695960+00:00 app[web.1]: at Function.Module._resolveFilename (module.js:338:15)
2014-05-05T13:08:28.695962+00:00 app[web.1]: at Function.Module._load (module.js:280:25)
2014-05-05T13:08:28.695963+00:00 app[web.1]: at Function.Module.runMain (module.js:497:10)
2014-05-05T13:08:28.695965+00:00 app[web.1]: at startup (node.js:119:16)
2014-05-05T13:08:28.695967+00:00 app[web.1]: at node.js:906:3
2014-05-05T13:08:28.701805+00:00 app[web.1]:
2014-05-05T13:08:30.178050+00:00 heroku[web.1]: State changed from starting to crashed
2014-05-05T13:08:30.179073+00:00 heroku[web.1]: State changed from crashed to starting
2014-05-05T13:08:30.166994+00:00 heroku[web.1]: Process exited with status 1
2014-05-05T13:08:33.497955+00:00 app[web.1]: throw err;
2014-05-05T13:08:33.431728+00:00 app[web.1]: > MotionTherapy#0.0.1 start /app
2014-05-05T13:08:33.499529+00:00 app[web.1]: at Function.Module._load (module.js:280:25)
2014-05-05T13:08:33.497965+00:00 app[web.1]: ^
2014-05-05T13:08:33.499531+00:00 app[web.1]: at Function.Module.runMain (module.js:497:10)
2014-05-05T13:08:33.499532+00:00 app[web.1]: at startup (node.js:119:16)
2014-05-05T13:08:33.499534+00:00 app[web.1]: at node.js:906:3
2014-05-05T13:08:33.504110+00:00 app[web.1]:
2014-05-05T13:08:33.431730+00:00 app[web.1]: > node server.js
2014-05-05T13:08:33.431732+00:00 app[web.1]:
2014-05-05T13:08:33.431702+00:00 app[web.1]:
2014-05-05T13:08:33.497363+00:00 app[web.1]:
2014-05-05T13:08:33.499525+00:00 app[web.1]: Error: Cannot find module '/app/server.js'
2014-05-05T13:08:33.499527+00:00 app[web.1]: at Function.Module._resolveFilename (module.js:338:15)
2014-05-05T13:08:33.510483+00:00 app[web.1]: npm ERR! not with npm itself.
2014-05-05T13:08:33.510935+00:00 app[web.1]: npm ERR! npm owner ls MotionTherapy
2014-05-05T13:08:33.511048+00:00 app[web.1]: npm ERR! There is likely additional logging output above.
2014-05-05T13:08:33.511376+00:00 app[web.1]: npm ERR! System Linux 3.8.11-ec2
2014-05-05T13:08:33.511525+00:00 app[web.1]: npm ERR! command "/app/vendor/node/bin/node" "/app/vendor/node/bin/npm" "start"
2014-05-05T13:08:33.511677+00:00 app[web.1]: npm ERR! cwd /app
2014-05-05T13:08:33.511823+00:00 app[web.1]: npm ERR! node -v v0.10.28
2014-05-05T13:08:33.512018+00:00 app[web.1]: npm ERR! npm -v 1.4.9
2014-05-05T13:08:33.512181+00:00 app[web.1]: npm ERR! code ELIFECYCLE
2014-05-05T13:08:33.513568+00:00 app[web.1]: npm ERR!
2014-05-05T13:08:33.513674+00:00 app[web.1]: npm ERR! Additional logging details can be found in:
2014-05-05T13:08:33.513765+00:00 app[web.1]: npm ERR! /app/npm-debug.log
2014-05-05T13:08:33.514040+00:00 app[web.1]: npm ERR! not ok code 0
2014-05-05T13:08:33.497678+00:00 app[web.1]: module.js:340
2014-05-05T13:08:33.509594+00:00 app[web.1]: npm ERR! Exit status 8
2014-05-05T13:08:33.509809+00:00 app[web.1]: npm ERR! Failed at the MotionTherapy#0.0.1 start script.
2014-05-05T13:08:33.510340+00:00 app[web.1]: npm ERR! This is most likely a problem with the MotionTherapy package,
2014-05-05T13:08:33.510575+00:00 app[web.1]: npm ERR! Tell the author that this fails on your system:
2014-05-05T13:08:33.509373+00:00 app[web.1]: npm ERR! MotionTherapy#0.0.1 start: `node server.js`
2014-05-05T13:08:33.509681+00:00 app[web.1]: npm ERR!
2014-05-05T13:08:33.510720+00:00 app[web.1]: npm ERR! node server.js
2014-05-05T13:08:33.510894+00:00 app[web.1]: npm ERR! You can get their info via:
2014-05-05T13:08:32.252658+00:00 heroku[web.1]: Starting process with command `npm start`
2014-05-05T13:08:35.158739+00:00 heroku[web.1]: State changed from starting to crashed
2014-05-05T13:08:35.132782+00:00 heroku[web.1]: Process exited with status 1
2014-05-05T13:08:46.488494+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=stormy-brushlands-6191.herokuapp.com request_id=25ce25df-73cf-44d4-a900-b779b87210bc fwd="194.81.199.110" dyno= connect= service= status=503 bytes=
2014-05-05T13:08:48.425892+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=stormy-brushlands-6191.herokuapp.com request_id=374e68f2-a953-4151-8501-b4faf0cd8c68 fwd="194.81.199.110" dyno= connect= service= status=503 bytes=
2014-05-05T13:10:02.187303+00:00 heroku[api]: Scale to web=1 by plimbsuni#gmail.com
2014-05-05T13:10:31.191709+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=stormy-brushlands-6191.herokuapp.com request_id=6e3b207d-4549-474b-b830-d2333fb4a319 fwd="194.81.199.110" dyno= connect= service= status=503 bytes=
2014-05-05T13:10:33.563751+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=stormy-brushlands-6191.herokuapp.com request_id=faa3e382-edd2-4fe7-87ca-638be45fac7f fwd="194.81.199.110" dyno= connect= service= status=503 bytes=
2014-05-05T13:12:23.041518+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=stormy-brushlands-6191.herokuapp.com request_id=16327123-615e-4886-81dd-59076bfc7e01 fwd="80.74.98.150" dyno= connect= service= status=503 bytes=
2014-05-05T13:12:24.054516+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=stormy-brushlands-6191.herokuapp.com request_id=70617391-d024-4ffc-a207-e9ec398102f3 fwd="80.74.98.150" dyno= connect= service= status=503 bytes=
2014-05-05T13:12:24.201792+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=stormy-brushlands-6191.herokuapp.com request_id=004fb266-1556-4ddf-bb68-16f015ee5957 fwd="80.74.98.150" dyno= connect= service= status=503 bytes=
2014-05-05T13:13:45.035442+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=stormy-brushlands-6191.herokuapp.com request_id=0127e27f-4dea-4cf0-beb5-4de53dafc144 fwd="194.81.199.110" dyno= connect= service= status=503 bytes=
2014-05-05T13:13:45.502856+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=stormy-brushlands-6191.herokuapp.com request_id=542ec48e-e9b9-4f36-ae0b-f7d851c57453 fwd="194.81.199.110" dyno= connect= service= status=503 bytes=

Resources