I am trying to deploy a django app to heroku, and it is causing me errors. In the process of debugging when I run the command
heroku local web -f Procfile.windows
it shows me the following error:
[FAIL] No Procfile and no package.json file found in Current Directory - See run-foreman.js --help
From the application structure that is attached you can see that there is the Proc file and the content of the Procfile is as following:
web: gunicorn klaviyo_integration.wsgi --log-file -
Any guesses what might be wrong?
And I am using Windows as OS, in case there is a problem with gunicorn on that sense.
It might caused by wrong Procfile syntax.
Try to remove any comment from your Procfile. It works in my case.
My original Procfile:
# Some comment here
web: python start.py --port %PORT%
After removing the comment, no more errors occur.
web: python start.py --port %PORT%
I had same problem with tmp directory. I could solve it by removing from .gitignore. check Procfile in .gitignore
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With