Can't push to the heroku

后端 未结 9 764
猫巷女王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条回答
  •  -上瘾入骨i
    2020-12-13 02:37

    If your app is a Scala app, it must have a build.sbt in the root directory, and that file must be checked into Git. You can confirm this by running:

    $ git ls-files build.sbt
    

    If that file exists and is checked into Git, try running this command:

    $ heroku buildpacks:set heroku/scala
    

提交回复
热议问题