screenshot-to-code icon indicating copy to clipboard operation
screenshot-to-code copied to clipboard

ASGI app error

Open luvnft opened this issue 1 year ago • 1 comments

Installing the current project: backend (0.1.0) Virtual environment already activated: /Users/#$%#$#@/screenshot-to-code/backend/.venv cd: too many arguments INFO: Will watch for changes in these directories: ['/Users/W@#$@$@/screenshot-to-code/backend'] INFO: Uvicorn running on http://127.0.0.1:7000 (Press CTRL+C to quit) INFO: Started reloader process [86571] using StatReload ERROR: Error loading ASGI app. Could not import module "main".

Can you please help me fix this?

luvnft avatar Dec 01 '23 12:12 luvnft

You are probably running the command in the wrong directory, if you create the backend folder as suggested in https://github.com/abi/screenshot-to-code/issues/3#issuecomment-1814777959, you should not run inside backend/backend, but only backend 😂

jacquesmats avatar Dec 03 '23 13:12 jacquesmats