failed to push some refs to git@heroku.com

后端 未结 27 2341
野性不改
野性不改 2020-12-02 10:10

I am getting this error when I am trying push my files into heroku rep.

Ive set autocrlf = false already in gitconfig but this problem is still there. i have also tr

27条回答
  •  心在旅途
    2020-12-02 10:30

    I was facing this issue while deploying a django app on heroku.

    In my case the requirements.txt, Procfile and runtime.txt files were present in a subdirectory. Moving them to the root directory of the repository solved the problem.

    Heroku is specifically looking for requirements.txt in the root directory to setup the python environment.


    P.S :

    If heroku is unable to reach till the wsgi file residing in the subdirectory, solve it by referring below thread -

    How can I modify Procfile to run Gunicorn process in a non-standard folder on Heroku?

提交回复
热议问题