Why do I obtain this error when deploying app to Heroku?

前端 未结 4 996
死守一世寂寞
死守一世寂寞 2020-12-02 17:40

I am getting some kind of error when deploying my app to heroku using git hub. The problem is, I don\'t understand the heroku logs and the entailing errors. Here is the hero

4条回答
  •  难免孤独
    2020-12-02 18:30

    In my case, changing this:

    "scripts": {
         "test": "echo \"Error: no test specified\" && exit 1"
        },
    

    to this:

    "scripts": {
       "start": "node app.js"
        },
    

    was the solution

提交回复
热议问题