While I am running Flask code from my command line, a warning is appearing:
Serving Flask app \"hello_flask\" (lazy loading) * Environment: production WARN
If you encounter NoAppException and you see lazy loading the following seemed to fix the issue:
NoAppException
cd export FLASK_APP=. export FLASK_ENV=development export FLASK_DEBUG=1