Home > database >  Heroku deploy angular application, build success but Application error?
Heroku deploy angular application, build success but Application error?

Time:10-13

Application error

2021-10-10T05:13:52.496118 00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=dashboard-agri.herokuapp.com request_id=03476fb8-2620-4c0a-9b5f-9588550b653f fwd="103.70.199.92" dyno= connect= service= status=503 bytes= protocol=https

CodePudding user response:

1.removed the package-lock.json
2. inside package.json change npm start to node server.js
 ie: {
      "npm start" : "node server.js"
        }

before changing change the version number its working

  • Related