Failed to fetch dynamically imported module: virtual:tanstack-start-client
Hey, I've been building an app with latest tanstack start and in the beginning it was working just fine but at some point I started noticing error in browser console:
Initially I did not realize that it was causing a pretty serious problem as I had no interactive elements on the pages, everything was SSR rendered and static initially.
But once I started adding interactive logic to client side I noticed that nothing was actually working in the client side, the entire app would only render on server and then be completely stuck on client side.
I tried clearing vite cache, reinstalling node_modules but nothing helped.
I'm using NX monorepo but it should not matter much.
Here is my app vite config:
Initially I did not realize that it was causing a pretty serious problem as I had no interactive elements on the pages, everything was SSR rendered and static initially.
But once I started adding interactive logic to client side I noticed that nothing was actually working in the client side, the entire app would only render on server and then be completely stuck on client side.
I tried clearing vite cache, reinstalling node_modules but nothing helped.
I'm using NX monorepo but it should not matter much.
Here is my app vite config: