This is the first time I've used Heroku
, and the fact that I can't find anyone in Google with a similar error to this means I'm likely doing something way wrong:
I'm following the basic Heroku setup guide here to get my NodeJS application deployed to the web. I'm deployed and trying to check my dynos
with:
heroku ps:scale web=1
However, when I do this I get the error:
Scaling web dynos... failed
! No such process type web defined in Procfile.
When I run heroku ps
I get nothing returned.
In my app's root directory, I have a file named Procfile
(with no extension) which contains:
web: node app.js
The app runs locally without any issues (using foreman start
).
Question is why is this occurring, how do I remedy it, should I even care?