I am trying to deploy a test app to Heroku –stack cedar but every time I do my Procfile is being ignored.
It should be saying this:
Procfile declares types -> web
But says this
Procfile declares types -> (none)
Because of this problem it of course won’t load on the heroku platform when I navigate the URL.
Aside from this test (A) I have an IDENTICAL project (B) in another folder which DOES work. I am so utterly confused as to why (A) doesn’t that I’m coming here to ask now.
A couple other things I’ve tried with (A) include:
- recreating the heroku app
- recreating the git repo (i.e. delete .git, git init…)
- clearing out the files from the project folder, and copying the files from the other copy that works
If I make top-level folder copy of (B) then that copy will work. The issue seems to be copying files/folders from within (B) et al to within (A), the cursed one.
So, so far all I can determine is everything is working minus this (A) cursed folder. I would love to find out why instead of having to come to a witch-craft conclusion.
I had the same problem and I just now I found what was wrong. I first accidently called the file
ProcFileinstead ofProcfile. Simply renaming that file did not get picked up by git. I had to do agit rm ProcFile -ffirst and then add a new (correctly named)Procfile. After that, it got pushed correctly by git and got picked up correctly by Heroku.