@nikitaa12

Heroku. Ошибка H=10. React.js. Как исправить?

Приложение React крашится. Использую create-react-app.
Логи:
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
  • Вопрос задан
  • 129 просмотров
Пригласить эксперта
Ответы на вопрос 1
По умолчанию Heroku не устанавливает devdependencies :. https://devcenter.heroku.com/articles/nodejs-support. Либо установите модуль реагирования на скрипты, чтобы всегда устанавливать или отключать режим производства на Heroku
Ответ написан
Комментировать
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы