Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New to Heroku - "No such type as web"

I'm trying to deploy my first app using Python/Flask on Heroku. I don't really know what I'm doing and am just following the tutorial at https://devcenter.heroku.com/articles/python#prerequisites. When I type the command heroku ps:scale web=1 I'm getting the error message "No such type as web". My Procfile says web: python scrabble_cheater.py, which I believe is correct. Here's the log of my terminal:

(venv)jason-olsens-macbook-pro:scrabble paulnichols$ heroku status
=== Heroku Status
Development: No known issues at this time.
Production:  No known issues at this time.
(venv)jason-olsens-macbook-pro:scrabble paulnichols$ heroku config
=== enigmatic-mountain-1395 Config Vars
LANG:             en_US.UTF-8
LD_LIBRARY_PATH:  /app/.heroku/vendor/lib
LIBRARY_PATH:     /app/.heroku/vendor/lib
PATH:             /app/.heroku/venv/bin:/bin:/usr/local/bin:/usr/bin
PYTHONHASHSEED:   random
PYTHONHOME:       /app/.heroku/venv/
PYTHONPATH:       /app/
PYTHONUNBUFFERED: true
(venv)jason-olsens-macbook-pro:scrabble paulnichols$ heroku ps
(venv)jason-olsens-macbook-pro:scrabble paulnichols$ git push heroku master
Warning: Permanently added the RSA host key for IP address '50.19.85.154' to the list of known hosts.
Everything up-to-date
(venv)jason-olsens-macbook-pro:scrabble paulnichols$ heroku ps:scale web=1
Scaling web processes... failed
 !    No such type as web
(venv)jason-olsens-macbook-pro:scrabble paulnichols$ 

Any help is greatly appreciated!

like image 555
thumbtackthief Avatar asked Oct 06 '22 01:10

thumbtackthief


1 Answers

Procfile was saved with a .txt extension by mistake--once I removed the extension it worked.

like image 183
thumbtackthief Avatar answered Oct 10 '22 03:10

thumbtackthief