Answer the question
In order to leave comments, you need to log in
Why can't I deploy my hosted React build via Heroku?
I have a React app that builds and runs successfully on localhost. I tried deploying it to a hosted server using Heroku by linking a Heroku-built app with a Github repository. I selected the repository and the master branch:
Next, I made a build, it was executed:
When I opened the address of the deployed application, an error message appeared:
Deployment logs:
What is the reason for this problem and how can I solve it?
Answer the question
In order to leave comments, you need to log in
There is something wrong with your configuration. Heroku does npm start and there is no such script in your package.json.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question