Skip to content

fix(cli): watcher deps#5520

Closed
7ttp wants to merge 1 commit into
supabase:developfrom
7ttp:fix/next-watcher-optional-deps
Closed

fix(cli): watcher deps#5520
7ttp wants to merge 1 commit into
supabase:developfrom
7ttp:fix/next-watcher-optional-deps

Conversation

@7ttp

@7ttp 7ttp commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@7ttp 7ttp self-assigned this Jun 9, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ec68f1a372

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread apps/cli/package.json
Comment on lines +77 to +81
"@parcel/watcher-darwin-arm64": "2.5.6",
"@parcel/watcher-darwin-x64": "2.5.6",
"@parcel/watcher-linux-arm64-glibc": "2.5.6",
"@parcel/watcher-linux-arm64-musl": "2.5.6",
"@parcel/watcher-linux-x64-glibc": "2.5.6",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Ship watcher natives with the executed binary

When users run the release archives or Linux packages, the release script packages only packages/cli-{platform}/bin/supabase into the tar/zip/deb/rpm/apk artifacts (apps/cli/scripts/build.ts), so these optional deps declared on the npm shim package are not present beside the compiled Bun binary. In that distribution path, functions dev reaches loadParcelWatcher() and the runtime require("@parcel/watcher-...") fails because there is no node_modules from apps/cli; the native watcher deps need to be shipped with or declared by the platform packages/artifacts that actually contain the executable, not only by apps/cli.

Useful? React with 👍 / 👎.

@7ttp 7ttp marked this pull request as draft June 9, 2026 08:44
@7ttp 7ttp closed this Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant