Nodejs Bcrypt + Heroku fail deploy

后端 未结 3 1032
遥遥无期
遥遥无期 2020-12-18 23:08

i am having problems when i try to do a deployment in heroku. The funny part is this was working three days ago. Also, is working fine in local machine.

The version

3条回答
  •  时光说笑
    2020-12-19 00:09

    Had the same thing happening to me.

    Node version not specified in package.json

    Try and do what heroku suggest, define the node version you are using on the package.json.

    Get the version you are using for development:

    node --version
    

    Then put it on package.json:

    { "name": "myapp", 
      "description": "a really cool app",  
      "version": "1.0.0", 
      "engines": { 
          "node": "8.9.4" 
       }
    }
    

提交回复
热议问题