René's URL Explorer Experiment


Title: fix(cli): point to init when dev or update runs without a project by ericallam · Pull Request #3929 · triggerdotdev/trigger.dev · GitHub

Open Graph Title: fix(cli): point to init when dev or update runs without a project by ericallam · Pull Request #3929 · triggerdotdev/trigger.dev

X Title: fix(cli): point to init when dev or update runs without a project by ericallam · Pull Request #3929 · triggerdotdev/trigger.dev

Description: Summary Running trigger.dev dev before setting up a project crashed with a raw Cannot find matching package.json stack trace from a transitive dependency, instead of telling the user what to do next. It happens whenever dev (or update) runs in a directory with no package.json in it or any parent directory, for example right after creating an empty project folder, or when init was exited before it scaffolded anything. The CLI now detects the missing project and prints actionable guidance pointing at init. Fix dev runs an embedded package-version check before it loads any project config. That check resolved package.json through a helper that throws when nothing is found up the tree, and nothing caught it. It is now wrapped, so a missing package.json produces a clear "run init" message and a clean exit. The config loader had the same latent crash on the --skip-update-check path. Its resolvers for package.json, the lockfile, and the workspace root all ran before the friendly "couldn't find your trigger.config.ts" check, so any of them throwing masked it. That check now runs first and short-circuits before the resolvers touch the filesystem. Verified live: in an empty directory, dev, dev --skip-update-check, and update all print a "run init" message and exit cleanly; in a configured project, dev still resolves config and boots normally.

Open Graph Description: Summary Running trigger.dev dev before setting up a project crashed with a raw Cannot find matching package.json stack trace from a transitive dependency, instead of telling the user what to do nex...

X Description: Summary Running trigger.dev dev before setting up a project crashed with a raw Cannot find matching package.json stack trace from a transitive dependency, instead of telling the user what to do nex...

Opengraph URL: https://github.com/triggerdotdev/trigger.dev/pull/3929

X: @github

direct link

Domain: github.com

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:089056cc-42dc-a33a-7665-901f1c42fed7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE64A:14B945:16889B1:1EE83AE:6AFB8252
html-safe-nonce7cc16b14d10a276a4969a11ca634952ef7e7f6c7b5860443a2ca594d3b726f15
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjRBOjE0Qjk0NToxNjg4OUIxOjFFRTgzQUU6NkFGQjgyNTIiLCJ2aXNpdG9yX2lkIjoiNjM1MTI2Nzc5Nzk2MzM0MjQxOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacd9ace8f824055b71543686d2782697db8b9419e50aab9101744367c86e503c1d
hovercard-subject-tagpull_request:3855795384
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/triggerdotdev/trigger.dev/pull/3929/files
twitter:imagehttps://avatars.githubusercontent.com/u/534?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/534?s=400&v=4
og:image:altSummary Running trigger.dev dev before setting up a project crashed with a raw Cannot find matching package.json stack trace from a transitive dependency, instead of telling the user what to do nex...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneef32892d4269fb87b55e81cc4ba8d86e0f16aa28446ffbf46cba8be5179ab188
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasebc3703b4dcbe820d1284ef63c88b001c850be25e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/triggerdotdev/trigger.dev/pull/3929/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F3929%2Ffiles
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%2Fpull%2F3929%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=triggerdotdev%2Ftrigger.dev
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/3929/files
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/3929/files
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/3929/files
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
Sign up for GitHub https://github.com/signup?return_to=%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2Fnew%2Fchoose
ericallamhttps://github.com/ericallam
mainhttps://github.com/triggerdotdev/trigger.dev/tree/main
fix/cli-dev-without-projecthttps://github.com/triggerdotdev/trigger.dev/tree/fix/cli-dev-without-project
Conversation 4 https://github.com/triggerdotdev/trigger.dev/pull/3929
Commits 2 https://github.com/triggerdotdev/trigger.dev/pull/3929/commits
Checks 54 https://github.com/triggerdotdev/trigger.dev/pull/3929/checks
Files changed https://github.com/triggerdotdev/trigger.dev/pull/3929/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/3929/files
fix(cli): point to init when dev or update runs without a project https://github.com/triggerdotdev/trigger.dev/pull/3929/files#top
Show all changes 2 commits https://github.com/triggerdotdev/trigger.dev/pull/3929/files
5152901 fix(cli): point to init when dev or update runs without a project ericallam Jun 12, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3929/commits/51529018e52dd71cca08e3ad758c7285173f2b55
a5c9119 docs(cli): broaden the changeset to cover deploy and preview ericallam Jun 12, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3929/commits/a5c9119be2722c22e178cf40d9b1a0490041a2f6
Clear filters https://github.com/triggerdotdev/trigger.dev/pull/3929/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/3929/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/3929/files
cli-dev-without-project.md https://github.com/triggerdotdev/trigger.dev/pull/3929/files#diff-d4f6bf1214afe1718dcc315f857c7d6374e75908c213010d7b20b584020e4bbb
update.ts https://github.com/triggerdotdev/trigger.dev/pull/3929/files#diff-bc52a8e009405da46904eee3e32ffbf37155c860f3285fa7c1196f63dbc58be7
config.ts https://github.com/triggerdotdev/trigger.dev/pull/3929/files#diff-f565b80a382754b4908a65ea7260ba1b46ce42c27a0eed14aa1003dacc7dac58
.changeset/cli-dev-without-project.mdhttps://github.com/triggerdotdev/trigger.dev/pull/3929/files#diff-d4f6bf1214afe1718dcc315f857c7d6374e75908c213010d7b20b584020e4bbb
View file https://github.com/triggerdotdev/trigger.dev/blob/a5c9119be2722c22e178cf40d9b1a0490041a2f6/.changeset/cli-dev-without-project.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/3929/{{ revealButtonHref }}
packages/cli-v3/src/commands/update.tshttps://github.com/triggerdotdev/trigger.dev/pull/3929/files#diff-bc52a8e009405da46904eee3e32ffbf37155c860f3285fa7c1196f63dbc58be7
View file https://github.com/triggerdotdev/trigger.dev/blob/a5c9119be2722c22e178cf40d9b1a0490041a2f6/packages/cli-v3/src/commands/update.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/3929/{{ revealButtonHref }}
https://github.com/triggerdotdev/trigger.dev/pull/3929/files#diff-bc52a8e009405da46904eee3e32ffbf37155c860f3285fa7c1196f63dbc58be7
https://github.com/triggerdotdev/trigger.dev/pull/3929/files#diff-bc52a8e009405da46904eee3e32ffbf37155c860f3285fa7c1196f63dbc58be7
packages/cli-v3/src/config.tshttps://github.com/triggerdotdev/trigger.dev/pull/3929/files#diff-f565b80a382754b4908a65ea7260ba1b46ce42c27a0eed14aa1003dacc7dac58
View file https://github.com/triggerdotdev/trigger.dev/blob/a5c9119be2722c22e178cf40d9b1a0490041a2f6/packages/cli-v3/src/config.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/3929/{{ revealButtonHref }}
https://github.com/triggerdotdev/trigger.dev/pull/3929/files#diff-f565b80a382754b4908a65ea7260ba1b46ce42c27a0eed14aa1003dacc7dac58
https://github.com/triggerdotdev/trigger.dev/pull/3929/files#diff-f565b80a382754b4908a65ea7260ba1b46ce42c27a0eed14aa1003dacc7dac58
https://github.com/triggerdotdev/trigger.dev/pull/3929/files#diff-f565b80a382754b4908a65ea7260ba1b46ce42c27a0eed14aa1003dacc7dac58
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/3929/files
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.