Can't push to the heroku

后端 未结 9 762
猫巷女王i
猫巷女王i 2020-12-13 02:02

I was pushing the current git repository into the heroku. That online application was developed using Scala and IntelliJ. And I don\'t know how to fix this error.

         


        
9条回答
  •  無奈伤痛
    2020-12-13 02:25

    Read this doc which will explain to you what to do.
    https://devcenter.heroku.com/articles/buildpacks

    Setting a buildpack on an application

    You can change the buildpack used by an application by setting the buildpack value.
    When the application is next pushed, the new buildpack will be used.

    $ heroku buildpacks:set heroku/php
    

    Buildpack set. Next release on random-app-1234 will use heroku/php.
    Run git push heroku master to create a new release using this buildpack.

    This is whay its not working for you since you did not set it up.

    ... When the application is next pushed, the new buildpack will be used.

    You may also specify a buildpack during app creation:

    $ heroku create myapp --buildpack heroku/python
    

提交回复
热议问题