N
N
nikitaa122020-06-06 19:38:02
Node.js
nikitaa12, 2020-06-06 19:38:02

heroku. Error H=10. React.js How to fix?

React app is crashing. I am using create-react-app.
Logs:

spoiler
2020-06-06T12:21:04.250796+00:00 heroku[web.1]: Process exited with status 0
2020-06-06T12:21:04.451858+00:00 heroku[web.1]: State changed from starting to crashed
2020-06-06T13:03:10.335127+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/users" host=nikitaa12-front.herokuapp.com request_id=e7405298-dd69-4802-8edd-d9a5c2321c4b fwd="127.0.0.1,178.206.249.28" dyno= connect= service= status=503 bytes= protocol=https
2020-06-06T13:03:33.766858+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/users" host=nikitaa12-front.herokuapp.com request_id=f7166c8a-22cb-415e-aed9-6a71fe0ee88b fwd="127.0.0.1,178.206.249.28" dyno= connect= service= status=503 bytes= protocol=https
2020-06-06T13:06:50.419192+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/users" host=nikitaa12-front.herokuapp.com request_id=53fde73b-3c87-4c4b-b1c9-a4c794f0dd6c fwd="127.0.0.1,178.206.249.28" dyno= connect= service= status=503 bytes= protocol=https
2020-06-06T13:06:52.763556+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/users" host=nikitaa12-front.herokuapp.com request_id=e1cd4c7a-d14b-4913-bb17-dba9bbd3f67a fwd="127.0.0.1,178.206.249.28" dyno= connect= service= status=503 bytes= protocol=https

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Polina Titova, 2020-06-06
@poly-titova

Heroku does not install devdependencies by default:. https://devcenter.heroku.com/articles/nodejs-support. Or install the script react module to always set or disable production mode on Heroku

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question