16
Янв
2021

Ошибка на heroku [remote rejected]

Не могу загрузить файлы на Heroku

ошибка ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'https://git.heroku.com/botipclip.git'


C:\crea>heroku login
heroku: Press any key to open up the browser to login or q to exit:
Opening browser to https://cli-auth.heroku.com/auth/cli/browser/c7ae5a73-3a12-4e1e-8779-abb3b2424a04?requestor=SFMyNTY.g2gDbQAAAAszNy4yOS40MC41NG4GAKzetwh3AWIAAVGA.KPLolitmAPu5Nt1rFTtkIzw7mlSZiTKFlTLJx1wocEw
Logging in... done
Logged in as почта@gmail.com

C:\crea>git init
Initialized empty Git repository in C:/crea/.git/

C:\crea>heroku git:remote -a botipclip
set git remote heroku to https://git.heroku.com/botipclip.git

C:\crea>git add .

C:\crea>git commit -am "new app"
[master (root-commit) 85cb381] new app
 5 files changed, 483 insertions(+)
 create mode 100644 Procfile.txt
 create mode 100644 bot.py
 create mode 100644 requirements.txt
 create mode 100644 runtime.txt
 create mode 100644 vk_config.v2.json

C:\crea>git push heroku master
Enumerating objects: 7, done.
Counting objects: 100% (7/7), done.
Delta compression using up to 8 threads
Compressing objects: 100% (4/4), done.
Writing objects: 100% (7/7), 2.30 KiB | 2.30 MiB/s, done.
Total 7 (delta 0), reused 0 (delta 0), pack-reused 0
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Building on the Heroku-20 stack
remote: -----> Python app detected
remote:  !     Requested runtime (python-3.7.0) is not available for this stack (heroku-20).
remote:  !     Aborting.  More info: https://devcenter.heroku.com/articles/python-support
remote:  !     Push rejected, failed to compile Python app.
remote:
remote:  !     Push failed
remote: Verifying deploy...
remote:
remote: !       Push rejected to botipclip.
remote:
To https://git.heroku.com/botipclip.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/botipclip.git'

C:\crea>

Источник: https://ru.stackoverflow.com/questions/1232078/%D0%9E%D1%88%D0%B8%D0%B1%D0%BA%D0%B0-%D0%BD%D0%B0-heroku-remote-rejected

Тебе может это понравится...

Добавить комментарий