Causes of Heroku H10-App Crashed Error And How To Solve Them

Uros Randelovic
1 min readJun 25, 2020
Photo by Michael Geiger on Unsplash

We all experienced the pains of Heroku. I’ve spent a lot of time on H10-App Crashed error and even the out of the box react apps would not run. Here is the simplest solution I’ve found.

Install serve package from npm, and change your package.json like below:

npm install serve --s"scripts": {
"dev": "react-scripts start",
"start": "serve -s build",
"build": "react-scripts build",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject",
"heroku-postbuild": "npm run build"
}

The reason I was facing this error is that I haven’t really deployed the code, it was running build version of it.

More errors that are straightforward are explained well in this article.

--

--