0

I created a simple Node.js app following the tutorial offered by Heroku. When I try to run the command heroku ps:scale worker=1 from within the application folder I get the following error message:

Scaling worker dynos... failed
 !    Resource not found

Any ideas what the problem may be? I checked my app's dashboard on Heroku and the commit is there and also a Dyno is allocated. The Procfile is identical to the one in the tutorial.

1 Answer 1

2

Are you sure you have a worker process defined in your procfile? The node tutorial doesn't have you add one I don't think. Try heroku ps:scale web=1 instead.

Sign up to request clarification or add additional context in comments.

1 Comment

Yeah, you are right. I don't know how I did not see that. Guess I'm too tired and I should take a break. Thanks a lot!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.