fastapi / full-stack-fastapi-template

Full stack, modern web application template. Using FastAPI, React, SQLModel, PostgreSQL, Docker, GitHub Actions, automatic HTTPS and more.
MIT License
27.61k stars 4.91k forks source link

backend does not start ":app" must be in format "<module>:<attribute>" #275

Open danielbf92 opened 4 years ago

danielbf92 commented 4 years ago

Hi,

The backed one sends me this error, did someone else happen to him?

I need help.

Checking for script in /app/prestart.sh
There is no script /app/prestart.sh
INFO:     Uvicorn running on http://0.0.0.0:80 (Press CTRL+C to quit)
INFO:     Started reloader process [1] using statreload
ERROR:    Error loading ASGI app. Import string ":app" must be in format "<module>:<attribute>".
TheCDC commented 3 years ago

Hi I have a friend on Windows 7 experiencing the same error. Can you provide more information about your setup?

  1. OS
  2. Exact commands run to set up the project before the error.
po2son commented 1 month ago

same case on me. Windows 11