remote rejected master -> master (pre-receive hook declined)

后端 未结 21 1941
我在风中等你
我在风中等你 2020-11-30 01:31

I\'m working in rails 3.2 and I receive an error when I try to push to heroku:

 git push heroku master
Counting objects: 496, done.
Delta compression using u         


        
21条回答
  •  没有蜡笔的小新
    2020-11-30 02:07

    Specify the version of node The version of Node.js that will be used to run your application on Heroku, should also be defined in your package.json file. You should always specify a Node.js version that matches the runtime you’re developing and testing with. To find your version type node --version.

    Your package.json file will look something like this:

    "engines": { "node": "10.x" },

    It should work

提交回复
热议问题