Forums

Error: No such command "db".

I've been following this tutorial perfectly and I get stuck here at flask db init. I am left with the error Error: No such command "db". I tried running the command in a venv and not, upgrading flask and Flask-Migrate, and refreshing my web app. Any idea what is going on?

Looks like something is wrong with your environment. Recreate it, install all required packages. Set FLASK_APP and try to run it again.