Can't push to the heroku

后端 未结 9 759
猫巷女王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:30

    Make sure you have package.json inside root of your project. Happy coding :)

    0 讨论(0)
  • 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
    
    0 讨论(0)
  • 2020-12-13 02:44

    If you are using django app to deploy on heroku

    make sure to put request library in the requirements.txt file.

    0 讨论(0)
提交回复
热议问题