René's URL Explorer Experiment


Title: bug: CLI crashes with "Invalid comparator: catalog:" when @trigger.dev/* deps use workspace catalogs (bun/pnpm catalog: protocol) · Issue #3905 · triggerdotdev/trigger.dev · GitHub

Open Graph Title: bug: CLI crashes with "Invalid comparator: catalog:" when @trigger.dev/* deps use workspace catalogs (bun/pnpm catalog: protocol) · Issue #3905 · triggerdotdev/trigger.dev

X Title: bug: CLI crashes with "Invalid comparator: catalog:" when @trigger.dev/* deps use workspace catalogs (bun/pnpm catalog: protocol) · Issue #3905 · triggerdotdev/trigger.dev

Description: Provide environment information System: OS: Windows 11 10.0.26200 CPU: (8) x64 Intel(R) Core(TM) Ultra 7 258V Memory: 9.90 GB / 31.55 GB Binaries: Node: 22.20.0 npm: 10.9.3 bun: 1.3.14 Deno: 2.7.14 Describe the bug Running trigger dev (o...

Open Graph Description: Provide environment information System: OS: Windows 11 10.0.26200 CPU: (8) x64 Intel(R) Core(TM) Ultra 7 258V Memory: 9.90 GB / 31.55 GB Binaries: Node: 22.20.0 npm: 10.9.3 bun: 1.3.14 Deno: 2.7.14...

X Description: Provide environment information System: OS: Windows 11 10.0.26200 CPU: (8) x64 Intel(R) Core(TM) Ultra 7 258V Memory: 9.90 GB / 31.55 GB Binaries: Node: 22.20.0 npm: 10.9.3 bun: 1.3.14 Deno: 2.7.14...

Opengraph URL: https://github.com/triggerdotdev/trigger.dev/issues/3905

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"bug: CLI crashes with \"Invalid comparator: catalog:\" when @trigger.dev/* deps use workspace catalogs (bun/pnpm catalog: protocol)","articleBody":"### Provide environment information\n\n  System:\n    OS: Windows 11 10.0.26200\n    CPU: (8) x64 Intel(R) Core(TM) Ultra 7 258V\n    Memory: 9.90 GB / 31.55 GB\n  Binaries:\n    Node: 22.20.0 \n    npm: 10.9.3\n    bun: 1.3.14\n    Deno: 2.7.14\n\n### Describe the bug\n\nRunning `trigger dev` (or `deploy`, `preview`, `workers build` — anything that runs the embedded update check) crashes immediately when `@trigger.dev/*` dependencies in package.json use the `catalog:` version protocol (bun and pnpm workspace catalogs):\n\n```\nTypeError: Invalid comparator: catalog:\n    at Comparator.parse (.../semver/classes/comparator.js:41:13)\n    ...\n    at Module.minVersion (.../semver/ranges/min-version.js:8:11)\n    at .../trigger.dev/dist/esm/commands/update.js:71:42\n```\n\n### Reproduction repo\n\nSee Repo Info Below\n\n### To reproduce\n\nIn a bun (or pnpm) workspace, define a catalog in the root package.json and reference it from the app that runs the CLI:\n\n```jsonc\n// root package.json\n\"workspaces\": {\n  \"packages\": [\"apps/*\"],\n  \"catalog\": {\n    \"@trigger.dev/sdk\": \"4.4.6\",\n    \"trigger.dev\": \"4.4.6\"\n  }\n}\n```\n\n```jsonc\n// apps/trigger/package.json\n\"dependencies\": {\n  \"@trigger.dev/sdk\": \"catalog:\"\n},\n\"devDependencies\": {\n  \"trigger.dev\": \"catalog:\"\n}\n```\n\nThen run `trigger dev`.\n\n### Additional information\n\n`getTriggerDependencies()` in `packages/cli-v3/src/commands/update.ts` explicitly skips `workspace:` specifiers, but has no equivalent skip for `catalog:`:\n\nhttps://github.com/triggerdotdev/trigger.dev/blob/7a54a843e2e9af36515daacb48369b7b1ff3f05c/packages/cli-v3/src/commands/update.ts#L308-L310\n\nWhen the `tryResolveTriggerPackageVersion()` fallback fails to resolve the installed version from node_modules, the raw `\"catalog:\"` string is kept as `dep.version` and flows into `semver.minVersion()` in `getVersionMismatches()`, which throws (it's wrapped in neither a try/catch nor a `semver.validRange` guard):\n\nhttps://github.com/triggerdotdev/trigger.dev/blob/7a54a843e2e9af36515daacb48369b7b1ff3f05c/packages/cli-v3/src/commands/update.ts#L116\n\n## Suggested fix\n\nSkip `catalog:` the same way `workspace:` is skipped:\n\n```ts\nif (version.startsWith(\"workspace\") || version.startsWith(\"catalog:\")) {\n  continue;\n}\n```\n\n(Optionally also harden `getVersionMismatches()` — e.g. guard the `semver.minVersion()` call with `semver.validRange(dep.version)` or a try/catch — so any other non-semver specifier degrades to a warning instead of a crash.)\n\nNote: skipping these specifiers entirely does mean catalog users lose the version-mismatch check. A nicer fix would be to keep relying on `tryResolveTriggerPackageVersion()` (which already resolves the real installed version) and only skip when resolution fails — but never letting `catalog:` reach `semver` is the minimal correct change.\n\n## Workaround\n\n`trigger dev --skip-update-check` (and the same flag on `deploy`) bypasses the crashing code path.","author":{"url":"https://github.com/JoeRall","@type":"Person","name":"JoeRall"},"datePublished":"2026-06-11T15:16:22Z","url":"https://github.com/triggerdotdev/trigger.dev/issues/3905"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:cfc3011e-8412-b024-cbb3-3c2ee65d4af5
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9A5E:32A4B7:34C8285:4B50F67:6AFB083E
html-safe-nonce9fca6f11f89b088c0dd761fc02a92637601f7fdf85fdba271d79683c91c7642f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTVFOjMyQTRCNzozNEM4Mjg1OjRCNTBGNjc6NkFGQjA4M0UiLCJ2aXNpdG9yX2lkIjoiNDI5ODE3MjAwNDgyMjYxNjEyNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac530d0f215c790f42a7d5c2c1063ee02fccfac29841391e6f8503d88c6d5ba58f
hovercard-subject-tagissue:4641830824
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/triggerdotdev/trigger.dev/3905/issue_layout
twitter:imagehttps://opengraph.githubassets.com/f412501bb2f5a3893cefb8cb65da20d5e3c6c7c3bcc0a5fca16a3b81312f2841/triggerdotdev/trigger.dev/issues/3905
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f412501bb2f5a3893cefb8cb65da20d5e3c6c7c3bcc0a5fca16a3b81312f2841/triggerdotdev/trigger.dev/issues/3905
og:image:altProvide environment information System: OS: Windows 11 10.0.26200 CPU: (8) x64 Intel(R) Core(TM) Ultra 7 258V Memory: 9.90 GB / 31.55 GB Binaries: Node: 22.20.0 npm: 10.9.3 bun: 1.3.14 Deno: 2.7.14...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameJoeRall
hostnamegithub.com
expected-hostnamegithub.com
None76fb13cb43f1834708971f45a9cfcab5df3177a7582086613d7cdc6e98c4bfde
turbo-cache-controlno-preview
go-importgithub.com/triggerdotdev/trigger.dev git https://github.com/triggerdotdev/trigger.dev.git
octolytics-dimension-user_id95297378
octolytics-dimension-user_logintriggerdotdev
octolytics-dimension-repository_id572570113
octolytics-dimension-repository_nwotriggerdotdev/trigger.dev
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id572570113
octolytics-dimension-repository_network_root_nwotriggerdotdev/trigger.dev
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseafc998826cdd963c8f91a96ae5372809ab5e296b
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/triggerdotdev/trigger.dev/issues/3905#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2F3905
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2F3905
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=triggerdotdev%2Ftrigger.dev
Reloadhttps://github.com/triggerdotdev/trigger.dev/issues/3905
Reloadhttps://github.com/triggerdotdev/trigger.dev/issues/3905
Reloadhttps://github.com/triggerdotdev/trigger.dev/issues/3905
triggerdotdevhttps://github.com/triggerdotdev
trigger.devhttps://github.com/triggerdotdev/trigger.dev
Codehttps://github.com/triggerdotdev/trigger.dev
Issues203 (203)https://github.com/triggerdotdev/trigger.dev/issues
Pull requests67 (67)https://github.com/triggerdotdev/trigger.dev/pulls
Discussionshttps://github.com/triggerdotdev/trigger.dev/discussions
Actionshttps://github.com/triggerdotdev/trigger.dev/actions
Projectshttps://github.com/triggerdotdev/trigger.dev/projects
Security and quality39 (39)https://github.com/triggerdotdev/trigger.dev/security
Insightshttps://github.com/triggerdotdev/trigger.dev/pulse
https://github.com/triggerdotdev/trigger.dev
New issuehttps://github.com/login?return_to=https://github.com/triggerdotdev/trigger.dev/issues/3905
New issuehttps://github.com/login?return_to=https://github.com/triggerdotdev/trigger.dev/issues/3905
bug: CLI crashes with "Invalid comparator: catalog:" when @trigger.dev/* deps use workspace catalogs (bun/pnpm catalog: protocol)https://github.com/triggerdotdev/trigger.dev/issues/3905#top
https://github.com/JoeRall
JoeRallhttps://github.com/JoeRall
on Jun 11, 2026https://github.com/triggerdotdev/trigger.dev/issues/3905#issue-4641830824
trigger.dev/packages/cli-v3/src/commands/update.tshttps://github.com/triggerdotdev/trigger.dev/blob/7a54a843e2e9af36515daacb48369b7b1ff3f05c/packages/cli-v3/src/commands/update.ts#L308-L310
7a54a84https://github.com/triggerdotdev/trigger.dev/commit/7a54a843e2e9af36515daacb48369b7b1ff3f05c
trigger.dev/packages/cli-v3/src/commands/update.tshttps://github.com/triggerdotdev/trigger.dev/blob/7a54a843e2e9af36515daacb48369b7b1ff3f05c/packages/cli-v3/src/commands/update.ts#L116
7a54a84https://github.com/triggerdotdev/trigger.dev/commit/7a54a843e2e9af36515daacb48369b7b1ff3f05c
https://github.com/cschanhniem
cschanhniemhttps://github.com/cschanhniem
on Jun 19, 2026https://github.com/triggerdotdev/trigger.dev/issues/3905#issuecomment-4747281974
#3993https://github.com/triggerdotdev/trigger.dev/issues/3993
https://github.com/anishfyi
anishfyihttps://github.com/anishfyi
on Aug 31, 2026https://github.com/triggerdotdev/trigger.dev/issues/3905#issuecomment-5480661385
Sign up for freehttps://github.com/signup?return_to=https://github.com/triggerdotdev/trigger.dev/issues/3905
Sign in to commenthttps://github.com/login?return_to=https://github.com/triggerdotdev/trigger.dev/issues/3905
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.