N
N
Nikita Shchypylov2018-02-06 11:14:10
React
Nikita Shchypylov, 2018-02-06 11:14:10

Deploy React production on heroku?

Hello everyone
I'm trying to push a heroku react prod. Dev version works. I assembled the project, switched to build, I start the deployment - it gives an error that there are problems with recognizing the language. I installed heroku/nodejs manually. Push - error, package.json not found. I dragged it with my hands into the build package from the public. Push - the project was assembled, but now when I go into the project it gives the following error in the logs:
2018-02-06T08:09:17.505178+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=office-dashboard.herokuapp.com request_id=6b111689-221f-4135-a83a-87446200aa36 fwd="46.254.75.1" dyno= connect= service= status=503 bytes= protocol=https
Who Did you encounter something like this?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question