You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When supabase init is interrupted or otherwise unavailable, the supabase start command isn't able to recover and provides a misleading error message.
To Reproduce
I'm on a 2019 MBP running Big Sur...
Turn off Docker globally (you may also need to clear any local Docker images used in Supabase's compose file)
Run supabase init taking the defaults and you'll end up with "Error running docker-compose."
❯ supabase init
✔ Port for Supabase URL: · 8000
✔ Port for PostgreSQL database: · 5432
✖ Error running docker-compose.
Start the Docker daemon again...
Try running supabase init (again). No-op.
❯ supabase init
Project already initialized. Remove .supabase to reinitialize.
Run supabase start and see the same error from the init command.
❯ supabase start
✖ Error running docker-compose.
This was solved by rm -rf .supabase and re-running supabase init but it isn't clear the underlying cause.
Expected behavior
Ideally supabase start would detect initialization had failed and prompt me to re-initialize or supabase init should detect a badly configured .supabase/ directory.
System information
OS: macOS
Version of supabase-cli: 0.3.6
Version of Node.js: v15.11.0
The text was updated successfully, but these errors were encountered:
Bug report
Describe the bug
When
supabase init
is interrupted or otherwise unavailable, thesupabase start
command isn't able to recover and provides a misleading error message.To Reproduce
I'm on a 2019 MBP running Big Sur...
supabase init
taking the defaults and you'll end up with "Error running docker-compose."supabase init
(again). No-op.supabase start
and see the same error from theinit
command.This was solved by
rm -rf .supabase
and re-runningsupabase init
but it isn't clear the underlying cause.Expected behavior
Ideally
supabase start
would detect initialization had failed and prompt me to re-initialize orsupabase init
should detect a badly configured.supabase/
directory.System information
The text was updated successfully, but these errors were encountered: