Bug: `vite start` silently serves broken dev server
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- typescript
- Domain
- build-system
Research direction
Start by checking the package script that runs with pnpm start, then compare its behavior with the documented Vite CLI commands. Reproduce with pnpm build && pnpm start; done means the start command uses the appropriate preview behavior and the root route no longer returns an empty 404 response.
Written by the indexing model from the issue text.
Description
Running vite start (as opposed to vite preview) after vite build starts a Vite dev server that returns 404 for all routes with no error or warning. Since start is not a recognized Vite CLI subcommand (Vite CLI docs), Vite silently falls back to the default dev command - but without proper TanStack Start SSR integration, every request gets a 404 with an empty body.
Steps to Reproduce
- Run
pnpm build && pnpm start - Open
http://localhost:5173/- get a 404
Workaround
Change the script to "start": "vite preview".
- Dominant language
- TypeScript
- Stars
- 1.1k
- Forks
- 401
- Avg merge
- 18h 44m
- Merged PRs (30d)
- 55
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from TanStack/tanstack.com
-
source-audit
Difficulty 1/5 Under an hour Newbie friendliness 84/100
TanStack/tanstack.com#1195 ·
-
source-audit
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
TanStack/tanstack.com#1194 · 2 comments ·
-
source-audit
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
TanStack/tanstack.com#1177 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
TanStack/tanstack.com#1059 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
TanStack/tanstack.com#1047 ·
All issues in TanStack/tanstack.com
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
danielmiessler/LifeOS#2218 ·