Home>

I can't deploy the Discord bot Python program on Heroku. Please let me know, I ran it from the web in GitHub format.

Build main 86a8392d
There was an issue deploying your app. View the build log for details.
 ! No default language could be detected for this app.
            HINT: This occurs when Heroku cannot detect the buildpack to use for this application automatically.
            See https://devcenter.heroku.com/articles/buildpacks
 ! Push failed!


I want someone to tell me how to resolve the error

  • Answer # 1

    ApparentlyNo default language could be detected for this app.It is written that the default language of this app could not be detected.
    So you probably don't have composer.json.
    Socomposer.jsonCreate a file named. You shouldn't have to write anything inside.
    Reference site: https://devcenter.heroku.com/articles/php-support#activation

  • Answer # 2

    https://qiita.com/takuto_neko_like/items/52c6c52385386544aa62

    I think this article will be helpful.