T
TanStack8mo ago
vicious-gold

ssr: false breaks "vinxi dev"

I am using the "start-basic" example. When marking the users.index.tsx with ssr: false the entire route disappears when running the app with npm run dev (which is vinxi dev). Is this broken in vinxi or is this an issue with tanstack/router|start? When using vinxi build and then running it with node it works. It looks like the vite plugin crashes with a known error, but even full page reloads, cache clearing and re-running npm run dev does not fix it:
Uncaught Error: @vitejs/plugin-react can't detect preamble. Something is wrong. See https://github.com/vitejs/vite-plugin-react/pull/11#discussion_r430879201
at DefaultCatchBoundary.tsx:1:1
Uncaught Error: @vitejs/plugin-react can't detect preamble. Something is wrong. See https://github.com/vitejs/vite-plugin-react/pull/11#discussion_r430879201
at DefaultCatchBoundary.tsx:1:1
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?