René's URL Explorer Experiment


Title: Error in production but not caught by linter via pnpm build · Issue #167 · TanStack/cli · GitHub

Open Graph Title: Error in production but not caught by linter via pnpm build · Issue #167 · TanStack/cli

X Title: Error in production but not caught by linter via pnpm build · Issue #167 · TanStack/cli

Description: Which project does this relate to? Create Tanstack App Describe the bug I discovered a bug because I was trying to figure out why my code was building and deplying without errors then upon visiting the deployed website getting the respon...

Open Graph Description: Which project does this relate to? Create Tanstack App Describe the bug I discovered a bug because I was trying to figure out why my code was building and deplying without errors then upon visiting...

X Description: Which project does this relate to? Create Tanstack App Describe the bug I discovered a bug because I was trying to figure out why my code was building and deplying without errors then upon visiting...

Opengraph URL: https://github.com/TanStack/cli/issues/167

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error in production but not caught by linter via pnpm build","articleBody":"### Which project does this relate to?\n\nCreate Tanstack App\n\n### Describe the bug\n\nI discovered a bug because I was trying to figure out why my code was building and deplying without errors then upon visiting the deployed website getting the response back from the url in return.\n\n```\n{\n  \"error\": true,\n  \"url\": \"https://tanstack-start-deployment-bug.vercel.app/\",\n  \"statusCode\": 500,\n  \"statusMessage\": \"Server Error\",\n  \"message\": \"Server Error\"\n}\n```\n\nI made a repo to demonstrate the issue\n\nhttps://github.com/remusris/tanstack-start-deployment-bug\n\nbelow is the deployment url\n\nhttps://tanstack-start-deployment-bug.vercel.app/\n\nBasically if you export a const from the a route into some component this will trigger the error in deployment.  \n\nIf you look at the `ComponentWithImportedZod.tsx` file that is culprit of the issue\n\nhttps://github.com/remusris/tanstack-start-deployment-bug/blob/master/src/components/ComponentWithImportedZod.tsx\n\nIf this is non an error please let me know what I'm doing wrong. \n\n### Your Example Website or App\n\nhttps://tanstack-start-deployment-bug.vercel.app/\n\n### Steps to Reproduce the Bug or Issue\n\nExport a const from a file inside of routes into a component outside of routes.  In this case it was a zod schema for validating searchParams\n\n### Expected behavior\n\nThe user does not get any build errors or deployment errors but once the URL is live all you get in response is\n\n```\n{\n  \"error\": true,\n  \"url\": \"https://tanstack-start-deployment-bug.vercel.app/\",\n  \"statusCode\": 500,\n  \"statusMessage\": \"Server Error\",\n  \"message\": \"Server Error\"\n}\n```\n\nhttps://tanstack-start-deployment-bug.vercel.app/\n\n### Screenshots or Videos\n\nCheck out the url below\n\nhttps://tanstack-start-deployment-bug.vercel.app/\n\n### Platform\n\n\nGoogle Chrome | 140.0.7339.128 (Official Build) (64-bit) (cohort: Stable)\nRevision | 36aa3351631d175ee5346a1aaf74ef5d49abe308-refs/branch-heads/7339@{#1850}\nOS | Windows 11 Version 24H2 (Build 26100.6584)\n\n\n\n\n### Additional context\n\n_No response_","author":{"url":"https://github.com/remusris","@type":"Person","name":"remusris"},"datePublished":"2025-09-17T04:42:33Z","url":"https://github.com/TanStack/cli/issues/167"}

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:0481a551-f24c-0fca-0235-a08116a6be42
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC0E4:33FBDD:24E39BA:308BE4D:6AF99BFF
html-safe-nonce38b871e1a5587c5c88b9e6d93dae7b1060feeb1e50d81f8f6a010b46f0f82b2b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMEU0OjMzRkJERDoyNEUzOUJBOjMwOEJFNEQ6NkFGOTlCRkYiLCJ2aXNpdG9yX2lkIjoiMjk1MzkwNjcyNjQ3MTU3MjQ3OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf9f2593d1f347240f32c80e7f163341dd96f1a6d20b55f075a7ed2d9163d5b50
hovercard-subject-tagissue:3424633870
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/TanStack/cli/167/issue_layout
twitter:imagehttps://opengraph.githubassets.com/30c2f758e5bc185325fae1fe5e8f67e8ba178ede9687ec88fcfb5a6217f9d965/TanStack/cli/issues/167
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/30c2f758e5bc185325fae1fe5e8f67e8ba178ede9687ec88fcfb5a6217f9d965/TanStack/cli/issues/167
og:image:altWhich project does this relate to? Create Tanstack App Describe the bug I discovered a bug because I was trying to figure out why my code was building and deplying without errors then upon visiting...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameremusris
hostnamegithub.com
expected-hostnamegithub.com
None612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7
turbo-cache-controlno-preview
go-importgithub.com/TanStack/cli git https://github.com/TanStack/cli.git
octolytics-dimension-user_id72518640
octolytics-dimension-user_loginTanStack
octolytics-dimension-repository_id932949058
octolytics-dimension-repository_nwoTanStack/cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id932949058
octolytics-dimension-repository_network_root_nwoTanStack/cli
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
release072e34035c13c31543fba9f025cbbbda4210dae4
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/TanStack/cli/issues/167#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTanStack%2Fcli%2Fissues%2F167
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%2FTanStack%2Fcli%2Fissues%2F167
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=TanStack%2Fcli
Reloadhttps://github.com/TanStack/cli/issues/167
Reloadhttps://github.com/TanStack/cli/issues/167
Reloadhttps://github.com/TanStack/cli/issues/167
TanStackhttps://github.com/TanStack
clihttps://github.com/TanStack/cli
Codehttps://github.com/TanStack/cli
Issues13 (13)https://github.com/TanStack/cli/issues
Pull requests23 (23)https://github.com/TanStack/cli/pulls
Discussionshttps://github.com/TanStack/cli/discussions
Actionshttps://github.com/TanStack/cli/actions
Projectshttps://github.com/TanStack/cli/projects
Security and qualityhttps://github.com/TanStack/cli/security
Insightshttps://github.com/TanStack/cli/pulse
https://github.com/TanStack/cli
New issuehttps://github.com/login?return_to=https://github.com/TanStack/cli/issues/167
New issuehttps://github.com/login?return_to=https://github.com/TanStack/cli/issues/167
Error in production but not caught by linter via pnpm buildhttps://github.com/TanStack/cli/issues/167#top
https://github.com/remusris
remusrishttps://github.com/remusris
on Sep 17, 2025https://github.com/TanStack/cli/issues/167#issue-3424633870
https://github.com/remusris/tanstack-start-deployment-bughttps://github.com/remusris/tanstack-start-deployment-bug
https://tanstack-start-deployment-bug.vercel.app/https://tanstack-start-deployment-bug.vercel.app/
https://github.com/remusris/tanstack-start-deployment-bug/blob/master/src/components/ComponentWithImportedZod.tsxhttps://github.com/remusris/tanstack-start-deployment-bug/blob/master/src/components/ComponentWithImportedZod.tsx
https://tanstack-start-deployment-bug.vercel.app/https://tanstack-start-deployment-bug.vercel.app/
https://tanstack-start-deployment-bug.vercel.app/https://tanstack-start-deployment-bug.vercel.app/
https://tanstack-start-deployment-bug.vercel.app/https://tanstack-start-deployment-bug.vercel.app/
https://github.com/tannerlinsley
tannerlinsleyhttps://github.com/tannerlinsley
on Feb 17, 2026https://github.com/TanStack/cli/issues/167#issuecomment-3917021455
https://github.com/eric-sison
eric-sisonhttps://github.com/eric-sison
on Jun 4, 2026https://github.com/TanStack/cli/issues/167#issuecomment-4625342187
https://private-user-images.githubusercontent.com/65406753/603047389-cb0cfd5c-6504-4a12-a37f-b379de587909.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTQ3NDM1OTUsIm5iZiI6MTc5NDc0MzI5NSwicGF0aCI6Ii82NTQwNjc1My82MDMwNDczODktY2IwY2ZkNWMtNjUwNC00YTEyLWEzN2YtYjM3OWRlNTg3OTA5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjExMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYxMTE1VDExNDgxNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTFmYTVlZTkxM2ZkYzA1NmZlN2Q1N2I2MmE0Y2RkY2YzM2U5NmQxYjZiMGIyODUyOTcxOGJiM2UzNjM1ZWMyNTkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.x5HYGMD3SY98Z1TX0TW0KhFgvLgk0zj_HdAVc2QLPng
https://private-user-images.githubusercontent.com/65406753/603047975-21585fc5-fa18-49dd-a44e-4c0faf770a68.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTQ3NDM1OTUsIm5iZiI6MTc5NDc0MzI5NSwicGF0aCI6Ii82NTQwNjc1My82MDMwNDc5NzUtMjE1ODVmYzUtZmExOC00OWRkLWE0NGUtNGMwZmFmNzcwYTY4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjExMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYxMTE1VDExNDgxNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTkzM2ZlMDM0NmE0ODk0M2QzYTUwNjI2NDI5YjI4NWIxYjA2ZjNjZjcyZDVjODlhODc4NjE3YmUyNTA0ODYxMzkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.C9akri15oEx82n0Kmuh8JwTDDdmIy-HOBXkUHJUHz5Q
https://github.com/tannerlinsley
tannerlinsleyhttps://github.com/tannerlinsley
on Nov 3, 2026https://github.com/TanStack/cli/issues/167#issuecomment-6613735188
Sign up for freehttps://github.com/signup?return_to=https://github.com/TanStack/cli/issues/167
Sign in to commenthttps://github.com/login?return_to=https://github.com/TanStack/cli/issues/167
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.