diff --git a/devbox/cli/devbox b/devbox/cli/devbox index 85ac74d..6775ca5 100644 --- a/devbox/cli/devbox +++ b/devbox/cli/devbox @@ -907,6 +907,10 @@ docker exec -i "$DEVBOX_NAME" bash < [BACKEND] Install backend dependencies..." pip install -r /home/devbox/freeleaps/apps/requirements.txt + if ! pip show async_timeout; then + echo "==> [BACKEND] async_timeout is missing. Installing..." + pip install async_timeout + fi touch /home/devbox/.backend_deps_installed echo "==> [BACKEND] Run backend service..." @@ -918,6 +922,11 @@ docker exec -i "$DEVBOX_NAME" bash < [BACKEND] Some dependencies are missing. Reinstalling..." pip install -r /home/devbox/freeleaps/apps/requirements.txt fi + # pip install async_timeout if not installed + if ! pip show async_timeout; then + echo "==> [BACKEND] async_timeout is missing. Installing..." + pip install async_timeout + fi # Check if the backend service is already running SERVICE_API_ACCESS_PORT=\$(cat /home/devbox/.devbox-backend-port)