user3128376
user3128376

Reputation: 994

Heroku; “No such process type web defined in Procfile” error

I'm trying to do

heroku ps:scale web=1

However I'm getting the error

No such process type web defined in Procfile.

I'm following this tutorial Real Time chat with Node js and I'm not able do "heroku open" at the end; the error I received was H14 so I'm trying to scale my web dynos to 1. I've a Procfile.txt and inside of it has

web: node app.js

I've read that I would need to make sure the "P" is capitalized and everything spell correctly which I have. So I'm not sure why I still can't scale my web dynos to 1.

Upvotes: 1

Views: 2687

Answers (1)

redhotvengeance
redhotvengeance

Reputation: 27886

It should just be Procfile - no extension. You need to drop the .txt.

mv Procfile.txt Procfile should fix it up for you (if you're on *nix).

Upvotes: 3

Related Questions