I have a procfile:
web: node index.js
When I run "heroku scale web=1" I get the error Scaling web processes... Record not found
. I can't find any explanation of this error or what might cause it, but as far as I can tell it means heroku scale couldn't find a "web" entry in the procfile it attempts to use.
I've deployed my app, I can run heroku run node index.js
on the server and see no errors. I can run foreman start
locally and it starts up a fully functioning instance of my app.
As far as I can tell it seems that the heroku scale
command just isn't seeing the contents of my procfile (and I know the deployed version is identical to my local version - I checked with heroku run nano index.js
).
Any help would be greatly appreciated, I just want to resolve how to get heroku scale web=1
working for me.