Vite PreTransform Error
I am running to the following error on latest when loading page:
Is therer a known solution for this?
7 Replies
typical-coralOP•4mo ago
A little more context:
typical-coralOP•4mo ago
my vite config

typical-coralOP•4mo ago
I suspect I have some bad setup coming from older Vinxi setup. So fixing that is likely my path forward. I’ll look into that shortly
yelping-magenta•4mo ago
I just ran into this as well.
other-emerald•4mo ago
can you please provide a complete example that reproduces this?
typical-coralOP•4mo ago
Seems my problem was that I needed to upgrade to vite 7
wee-brown•3mo ago
Incase it helps anyone else I ran into this issue when upgrading
better-auth which depends on @tanstack/react-start (dev dependency)
To resolve the issue I updated vite to v7 and also updated my version of @tanstack/react-start and @tanstack/react-router