Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Windows: Supabase CLI start fails when no Supabase containers exist

已关闭
#7,344 0 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

@Coly010 已经在做这个了。

开始于 2026年10月28日。

  • #7369 来自 @Coly010 —— 未关闭

评估

难度
3/5
预计耗时
1-2 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
docker, postgresql, powershell, supabase, typescript
领域
cli, devops

调研方向

The failure comes from the start command's container checks and from the profile file read (C:\Users....supabase\profile) that status --debug attempts. Start by reproducing with a fresh init on Windows, then trace where the 'already running' message is produced when the db container is missing. Done means start either brings up the stack or prints the real startup error, and status no longer fails on the missing profile file.

由索引模型根据 Issue 内容生成。

描述

🐛 Bug supabase/cli
Affected area

Local development

Supabase CLI version

2.122.0

Operating system

Windows 11, PowerShell

Installation method

npm

Command
npx supabase@latest start
npx supabase@latest status --debug
Actual output
NotFound: FileSystem.readFile (C:\Users\Malle\.supabase\profile)

supabase start is already running.
supabase_db_TECHNOMAK-SUPABASE-RECOVERY container is not running:

The same error occurs in a fresh folder initialized with `npx supabase@latest init`. Docker shows no Supabase containers.
Expected behavior

The CLI should start the local Supabase environment successfully, or report the underlying startup error clearly, instead of reporting that the project is already running when its database container is absent.

Steps to reproduce
  1. On Windows PowerShell, create a fresh folder.
  2. Run npx supabase@latest init.
  3. Run npx supabase@latest start.
  4. Observe the “supabase start is already running” error and missing database container message.
  5. Run npx supabase@latest status --debug.
  6. Observe the missing C:\Users\Malle\.supabase\profile error.

Environment:

  • Supabase CLI 2.122.0
  • Docker Engine 29.9.1
  • Docker Compose v5.6.0
  • Fresh local project, not linked to a hosted project
Crash report ID

No response

Docker and service versions

Additional context

No response

主要语言
TypeScript
星标
2.4k
派生
537
平均合并
17 小时 22 分钟
30 天内合并 PR
391

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

supabase/cli 的其他 Issue

查看 supabase/cli 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。