-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
I was able to deploy on heroku but the page doesen't run, can someone help?
The error:
2021-08-23T23:41:48.308116+00:00 app[web.1]: npm ERR! spawn ENOENT
2021-08-23T23:41:48.308164+00:00 app[web.1]: npm ERR!
2021-08-23T23:41:48.308220+00:00 app[web.1]: npm ERR! Failed at the totem-farms@1.0.0 start script.
2021-08-23T23:41:48.308256+00:00 app[web.1]: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
2021-08-23T23:41:48.311295+00:00 app[web.1]:
2021-08-23T23:41:48.311366+00:00 app[web.1]: npm ERR! A complete log of this run can be found in:
2021-08-23T23:41:48.311403+00:00 app[web.1]: npm ERR! /app/.npm/_logs/2021-08-23T23_41_48_309Z-debug.log
2021-08-23T23:41:48.457027+00:00 heroku[web.1]: Process exited with status 1
2021-08-23T23:41:48.803983+00:00 heroku[web.1]: State changed from starting to crashed
2021-08-23T23:42:01.514217+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=totem-farms.herokuapp.com request_id=725eadbd-5601-4753-b75c-5344723b51a0 fwd="191.190.233.134" dyno= connect= service= status=503 bytes= protocol=https
2021-08-23T23:42:02.486660+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=totem-farms.herokuapp.com request_id=9b36cc62-6b5d-4e16-88a2-d1810e4705e2 fwd="191.190.233.134" dyno= connect= service= status=503 bytes= protocol=https
2021-08-23T23:42:18.231559+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=totem-farms.herokuapp.com request_id=e0772230-c197-42f4-a76e-68440521c294 fwd="191.190.233.134" dyno= connect= service= status=503 bytes= protocol=https
2021-08-23T23:42:18.612108+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=totem-farms.herokuapp.com request_id=3fdcc0af-358b-4642-81ab-6b2cae47c3dd fwd="191.190.233.134" dyno= connect= service= status=503 bytes= protocol=https
2021-08-23T23:42:21.623249+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=totem-farms.herokuapp.com request_id=e52c3dde-1c5c-4ccc-8b86-78d9afba4623 fwd="191.190.233.134" dyno= connect= service= status=503 bytes= protocol=https
2021-08-23T23:42:21.914496+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=totem-farms.herokuapp.com request_id=89c0444f-1c7b-40a1-9015-20e0c969c264 fwd="191.190.233.134" dyno= connect= service= status=503 bytes= protocol=https
2021-08-23T23:42:30.925728+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=totem-farms.herokuapp.com request_id=d7748ba6-cc55-417a-9b49-be3842400946 fwd="191.190.233.134" dyno= connect= service= status=503 bytes= protocol=https
2021-08-23T23:42:31.187205+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=totem-farms.herokuapp.com request_id=dc5301d3-8ed9-4a31-9ac8-ced0e03fdb91 fwd="191.190.233.134" dyno= connect= service= status=503 bytes= protocol=https
2021-08-23T23:44:17.000000+00:00 app[api]: Build started by user rodrigoburgos@live.com
2021-08-23T23:44:31.809667+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=totem-farms.herokuapp.com request_id=893a24d3-7a0c-4096-a1bb-a37291656f81 fwd="191.190.233.134" dyno= connect= service= status=503 bytes= protocol=https
2021-08-23T23:44:32.046909+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=totem-farms.herokuapp.com request_id=a5d1bdd7-6891-4082-a6c3-cd14ac680eaf fwd="191.190.233.134" dyno= connect= service= status=503 bytes= protocol=https
2021-08-23T23:44:37.000000+00:00 app[api]: Build failed -- check your build output: https://dashboard.heroku.com/apps/1c5142ad-5686-4a8a-b8aa-8c14abc40fbf/activity/builds/1191b913-dcda-4ba4-9777-b7c9a01d5c33
2021-08-23T23:47:53.000000+00:00 app[api]: Build started by user rodrigoburgos@live.com
2021-08-23T23:50:07.989249+00:00 app[api]: Deploy 69f868b8 by user rodrigoburgos@live.com
2021-08-23T23:50:07.989249+00:00 app[api]: Release v4 created by user rodrigoburgos@live.com
2021-08-23T23:50:11.460474+00:00 heroku[web.1]: State changed from crashed to starting
2021-08-23T23:50:15.519346+00:00 heroku[web.1]: Starting process with command npm start
2021-08-23T23:50:16.000000+00:00 app[api]: Build succeeded
2021-08-23T23:50:17.678580+00:00 app[web.1]:
2021-08-23T23:50:17.678595+00:00 app[web.1]: > totem-farms@1.0.0 start /app
2021-08-23T23:50:17.678596+00:00 app[web.1]: > browser-sync start -s 'dist' -f 'dist' --no-open --no-notify --reload-debounce 50
2021-08-23T23:50:17.678596+00:00 app[web.1]:
2021-08-23T23:50:17.682366+00:00 app[web.1]: sh: 1: browser-sync: not found
2021-08-23T23:50:17.685912+00:00 app[web.1]: npm ERR! code ELIFECYCLE
2021-08-23T23:50:17.686009+00:00 app[web.1]: npm ERR! syscall spawn
2021-08-23T23:50:17.686080+00:00 app[web.1]: npm ERR! file sh
2021-08-23T23:50:17.686151+00:00 app[web.1]: npm ERR! errno ENOENT
2021-08-23T23:50:17.688666+00:00 app[web.1]: npm ERR! totem-farms@1.0.0 start: browser-sync start -s 'dist' -f 'dist' --no-open --no-notify --reload-debounce 50
2021-08-23T23:50:17.688709+00:00 app[web.1]: npm ERR! spawn ENOENT
2021-08-23T23:50:17.688755+00:00 app[web.1]: npm ERR!
2021-08-23T23:50:17.688797+00:00 app[web.1]: npm ERR! Failed at the totem-farms@1.0.0 start script.
2021-08-23T23:50:17.688836+00:00 app[web.1]: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
2021-08-23T23:50:17.693839+00:00 app[web.1]:
2021-08-23T23:50:17.693946+00:00 app[web.1]: npm ERR! A complete log of this run can be found in:
2021-08-23T23:50:17.693998+00:00 app[web.1]: npm ERR! /app/.npm/_logs/2021-08-23T23_50_17_689Z-debug.log
2021-08-23T23:50:17.753609+00:00 heroku[web.1]: Process exited with status 1
2021-08-23T23:50:17.834798+00:00 heroku[web.1]: State changed from starting to crashed
2021-08-23T23:50:26.369355+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=totem-farms.herokuapp.com request_id=22c7fe81-2cf4-4b96-a252-fef46bc74a2e fwd="191.190.233.134" dyno= connect= service= status=503 bytes= protocol=https
2021-08-23T23:50:26.642893+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=totem-farms.herokuapp.com request_id=01191061-fc9c-4d79-8e2f-961de2ec5e02 fwd="191.190.233.134" dyno= connect= service= status=503 bytes= protocol=https
2021-08-23T23:50:32.653160+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=totem-farms.herokuapp.com request_id=bf057add-b2ac-45a2-86b1-67ee4917905a fwd="191.190.233.134" dyno= connect= service= status=503 bytes= protocol=https
2021-08-23T23:50:32.878692+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=totem-farms.herokuapp.com request_id=b939d186-62c0-4a75-b170-ec118694b9a9 fwd="191.190.233.134" dyno= connect= service= status=503 bytes= protocol=https
2021-08-23T23:51:00.000000+00:00 app[api]: Build started by user rodrigoburgos@live.com
2021-08-23T23:52:09.000000+00:00 app[api]: Build failed -- check your build output: https://dashboard.heroku.com/apps/1c5142ad-5686-4a8a-b8aa-8c14abc40fbf/activity/builds/06fb2b61-9ea5-437c-ab10-aabfc3bb1eb0
2021-08-23T23:55:57.000000+00:00 app[api]: Build started by user rodrigoburgos@live.com
2021-08-23T23:58:07.639383+00:00 app[api]: Deploy f99e57cf by user rodrigoburgos@live.com
2021-08-23T23:58:07.639383+00:00 app[api]: Release v5 created by user rodrigoburgos@live.com
2021-08-23T23:58:08.755814+00:00 heroku[web.1]: State changed from crashed to starting
2021-08-23T23:58:12.767841+00:00 heroku[web.1]: Starting process with command npm start
2021-08-23T23:58:14.948103+00:00 app[web.1]:
2021-08-23T23:58:14.948117+00:00 app[web.1]: > totem-farms@1.0.0 start /app
2021-08-23T23:58:14.948117+00:00 app[web.1]: > browser-sync start -s 'dist' -f 'dist' --no-open --no-notify --reload-debounce 50
2021-08-23T23:58:14.948118+00:00 app[web.1]:
2021-08-23T23:58:14.951810+00:00 app[web.1]: sh: 1: browser-sync: not found
2021-08-23T23:58:14.955449+00:00 app[web.1]: npm ERR! code ELIFECYCLE
2021-08-23T23:58:14.955549+00:00 app[web.1]: npm ERR! syscall spawn
2021-08-23T23:58:14.955614+00:00 app[web.1]: npm ERR! file sh
2021-08-23T23:58:14.955684+00:00 app[web.1]: npm ERR! errno ENOENT
2021-08-23T23:58:14.958276+00:00 app[web.1]: npm ERR! totem-farms@1.0.0 start: browser-sync start -s 'dist' -f 'dist' --no-open --no-notify --reload-debounce 50
2021-08-23T23:58:14.958315+00:00 app[web.1]: npm ERR! spawn ENOENT
2021-08-23T23:58:14.958363+00:00 app[web.1]: npm ERR!
2021-08-23T23:58:14.958408+00:00 app[web.1]: npm ERR! Failed at the totem-farms@1.0.0 start script.
2021-08-23T23:58:14.958444+00:00 app[web.1]: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
2021-08-23T23:58:14.961879+00:00 app[web.1]:
2021-08-23T23:58:14.961959+00:00 app[web.1]: npm ERR! A complete log of this run can be found in:
2021-08-23T23:58:14.961991+00:00 app[web.1]: npm ERR! /app/.npm/_logs/2021-08-23T23_58_14_959Z-debug.log
2021-08-23T23:58:15.012880+00:00 heroku[web.1]: Process exited with status 1
2021-08-23T23:58:15.286578+00:00 heroku[web.1]: State changed from starting to crashed
2021-08-23T23:58:15.297631+00:00 heroku[web.1]: State changed from crashed to starting
2021-08-23T23:58:16.000000+00:00 app[api]: Build succeeded
2021-08-23T23:58:19.131192+00:00 heroku[web.1]: Starting process with command npm start
2021-08-23T23:58:21.149669+00:00 app[web.1]:
2021-08-23T23:58:21.149683+00:00 app[web.1]: > totem-farms@1.0.0 start /app
2021-08-23T23:58:21.149684+00:00 app[web.1]: > browser-sync start -s 'dist' -f 'dist' --no-open --no-notify --reload-debounce 50
2021-08-23T23:58:21.149685+00:00 app[web.1]:
2021-08-23T23:58:21.154324+00:00 app[web.1]: sh: 1: browser-sync: not found
2021-08-23T23:58:21.158536+00:00 app[web.1]: npm ERR! code ELIFECYCLE
2021-08-23T23:58:21.158647+00:00 app[web.1]: npm ERR! syscall spawn
2021-08-23T23:58:21.158714+00:00 app[web.1]: npm ERR! file sh
2021-08-23T23:58:21.158791+00:00 app[web.1]: npm ERR! errno ENOENT
2021-08-23T23:58:21.161239+00:00 app[web.1]: npm ERR! totem-farms@1.0.0 start: browser-sync start -s 'dist' -f 'dist' --no-open --no-notify --reload-debounce 50
2021-08-23T23:58:21.161265+00:00 app[web.1]: npm ERR! spawn ENOENT
2021-08-23T23:58:21.161318+00:00 app[web.1]: npm ERR!
2021-08-23T23:58:21.161360+00:00 app[web.1]: npm ERR! Failed at the totem-farms@1.0.0 start script.
2021-08-23T23:58:21.161392+00:00 app[web.1]: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
2021-08-23T23:58:21.166773+00:00 app[web.1]:
2021-08-23T23:58:21.166905+00:00 app[web.1]: npm ERR! A complete log of this run can be found in:
2021-08-23T23:58:21.166974+00:00 app[web.1]: npm ERR! /app/.npm/_logs/2021-08-23T23_58_21_161Z-debug.log
2021-08-23T23:58:21.218375+00:00 heroku[web.1]: Process exited with status 1
2021-08-23T23:58:21.301118+00:00 heroku[web.1]: State changed from starting to crashed
2021-08-24T00:00:42.879050+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=totem-farms.herokuapp.com request_id=b57b1a34-b74d-430c-b05a-933443befcd8 fwd="191.190.233.134" dyno= connect= service= status=503 bytes= protocol=https
2021-08-24T00:00:43.151249+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=totem-farms.herokuapp.com request_id=17ea8efb-c68c-4f3e-83bc-af6f34bd3d57 fwd="191.190.233.134" dyno= connect= service= status=503 bytes= protocol=https
To reproduce you can clone:
https://github.com/burgossrodrigo/totem-farms.git
Npm install and after try to deploy on heroku.