小编Aza*_*ath的帖子

Windows 上的“supabase start”失败

我正在运行 Windows 11,并根据文档通过 Scoop 安装了 supabase cli。我将其添加到现有存储库中,因此我已经毫无问题地运行了以下命令:

supabase login
supabase init
Run Code Online (Sandbox Code Playgroud)

当我去运行它时,supabase start它第一次完全安装了 docker 映像和所有内容,但它总是以以下错误消息结束:

> supabase start
Database is not healthy.
Error: failed to connect to `host=localhost user=postgres database=postgres`: failed to receive message (unexpected EOF)
Try rerunning the command with --debug to troubleshoot the error.
Run Code Online (Sandbox Code Playgroud)

我尝试--debug按照指示使用该标志运行,但我似乎无法从中看出任何信息,并且由于不同的问题而失败:

...                                                                                                        2023/03/11 22:46:09 Send Done
2023/03/11 22:46:09 Recv First Byte
2023/03/11 22:46:10 Sent Header: Host [docker]
2023/03/11 22:46:10 Sent Header: User-Agent [Go-http-client/1.1]
2023/03/11 22:46:10 Send Done
2023/03/11 22:46:10 Recv …
Run Code Online (Sandbox Code Playgroud)

docker docker-compose supabase supabase-database

5
推荐指数
1
解决办法
2402
查看次数