route: ssr: false, works in prod build. but in dev Error : Uncaught (in promise) SyntaxError: The requested module '/node_modules/.pnpm/react-dom@19.2.6_react@19.2.6 #1546
hendripermana
started this conversation in
General
Replies: 1 comment
-
|
Can you provide a code repository that can reproduce the issue? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
hey! weird one with vp dev + TanStack Start.
route: ssr: false, works in prod build. but in dev, browser module graph pulls in react-dom/server.browser.js from
somewhere deep and throws does not provide an export named 'default'. tried a custom Vite plugin to shim react-dom/server
→ no luck.
vibecoder disclaimer: i don't actually code lol, i've got an AI agent (acting as a engineer) doing the actual
work while i just vibe and point. so forgive me if i'm missing something basic — the agent's been digging for hours and
we're both stuck.
is there something about how Vite+ handles the dev SSR module graph that could cause this? any config flag i should
try? or should i just file this on the TanStack side?
Error :
Uncaught (in promise) SyntaxError: The requested module '/node_modules/.pnpm/react-dom@19.2.6_react@19.2.6/node_modules/react-dom/server.browser.js?v=cfd7a65e' does not provide an export named 'default' (at renderRouterToString.js?v=cfd7a65e:1:8)
Beta Was this translation helpful? Give feedback.
All reactions