【问题标题】:is there any solution available app not compatible with buildpack是否有任何与 buildpack 不兼容的可用解决方案应用程序
【发布时间】:2020-08-21 13:51:21
【问题描述】:
  (pdjangoenv) C:\Users\bhvbh\Desktop\practice django\dental_john>git push heroku master

    Enumerating objects: 208, done.
    Counting objects: 100% (208/208), done.
    Delta compression using up to 4 threads

Compressing objects: 100% (201/201), done.
Writing objects: 100% (208/208), 2.88 MiB | 47.00 KiB/s, done.
Total 208 (delta 26), reused 0 (delta 0), pack-reused 0
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> App not compatible with buildpack: https://buildpack- 
registry.s3.amazonaws.com/buildpacks/heroku/python.tgz
remote:        More info: https://devcenter.heroku.com/articles/buildpacks#detection-failure
remote:
remote:  !     Push failed
remote: Verifying deploy...
remote:
remote: !       Push rejected to dentist-yash.
remote:
To https://git.heroku.com/dentist-yash.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/dentist-yash.git'

我正在尝试在 heroku 中部署我的应用程序,但由于“应用程序与 buildpack 不兼容”错误而失败。我在我的项目中添加了requirement.txt和procfile,但它失败了。

【问题讨论】:

    标签: django python-3.x heroku


    【解决方案1】:

    确保你们都在 git 中合并并在 master 分支上工作。还要确保在项目根文件夹中初始化了 git repo,例如它可能是牙科约翰与牙医 yash。

    查看其他 pos 以了解您遇到的 git 错误

    错误:无法将一些引用推送到“https://git.heroku.com/dentist-yash.git

    git error: failed to push some refs to remote

    【讨论】:

      猜你喜欢
      • 2018-02-16
      • 1970-01-01
      • 2020-10-03
      • 2018-01-22
      • 2021-11-12
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多