mirror of
https://github.com/cloudflare/vinext.git
synced 2026-05-09 08:25:34 +02:00
[GH-ISSUE #459] vinext start fails: "RSC entry does not export a default handler function" #104
Labels
No labels
enhancement
enhancement
good first issue
help wanted
nextjs-tracking
nextjs-tracking
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vinext#104
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @skyblue on GitHub (Mar 11, 2026).
Original GitHub issue: https://github.com/cloudflare/vinext/issues/459
Summary
After a successful
vinext build, runningvinext startfails with:Repro
npm run buildvinext startActual
vinext startexits with the error above.Expected
vinext startshould work with the build output, or provide a clear message that this target must be run with Wrangler.Observed output shape
dist/server/index.jsdefault export is a Worker-style object ({ fetch() {} }), not a function.Environment
Workaround
Use Wrangler to run the built output:
@james-elicx commented on GitHub (Mar 11, 2026):
I believe this should be resolved now.