Windows: Supabase CLI start fails when no Supabase containers exist
维护者通常 1 天内回复
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- docker, postgresql, powershell, supabase, typescript
调研方向
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 内容生成。
描述
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
- On Windows PowerShell, create a fresh folder.
- Run
npx supabase@latest init. - Run
npx supabase@latest start. - Observe the “supabase start is already running” error and missing database container message.
- Run
npx supabase@latest status --debug. - Observe the missing
C:\Users\Malle\.supabase\profileerror.
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
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
supabase/cli 的其他 Issue
-
db schema declarative sync: no way to fail (non-zero exit) when the generated migration is destructive可能重新可做 关联的 PR 已关闭且未合并。 未关闭✨ Feature supabase/cli
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
🐛 Bug supabase/cli
难度 4/5 3-5 天 新手友好度 48/100
维护者通常 1 天内回复
-
stack: every Edge Function request starts a new worker, so the same function never reuses one and each call pays a cold start可能已有人在做 @7ttp 于 3 天前认领。 未关闭🐛 Bug supabase/cli
难度 3/5 1-2 天 新手友好度 58/100
维护者通常 1 天内回复
-
🐛 Bug supabase/cli
难度 4/5 3-5 天 新手友好度 48/100
维护者通常 1 天内回复
-
Explicit local function bundling falls back to API bundling when Docker is unavailable可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭🐛 Bug open-for-contribution supabase/cli
难度 3/5 1-2 天 新手友好度 68/100
维护者通常 1 天内回复
相似的 Issue
-
bug ready-for-agent
难度 2/5 1-3 小时 新手友好度 73/100
PhyberApex/kuroshiro#1687 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 73/100
microsoft/monaco-editor#5563 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
bug
难度 1/5 1 小时以内 新手友好度 86/100
awslabs/visual-asset-management-system#937 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 72/100