tanstackStartCookies Plugin Causes Some Vite Pre-bundle Error in TanStack Start
I set up a minimal TanStack Start app using the official quick start: https://tanstack.com/start/latest/docs/framework/react/quick-start
Then I integrated Better Auth exactly as per the docs:
Installation: https://www.better-auth.com/docs/installation
Basic Usage: https://www.better-auth.com/docs/basic-usage
TanStack Integration: https://www.better-auth.com/docs/integrations/tanstack
Code wise it's the exact same and default as in the docs.
Getting errors like this as I added the tanstackStartCookies plugin and eventually crashing
Then I integrated Better Auth exactly as per the docs:
Installation: https://www.better-auth.com/docs/installation
Basic Usage: https://www.better-auth.com/docs/basic-usage
TanStack Integration: https://www.better-auth.com/docs/integrations/tanstack
Code wise it's the exact same and default as in the docs.
Getting errors like this as I added the tanstackStartCookies plugin and eventually crashing
auth.ts370B
better-auth-info.json1.05KB
Impatient? The fastest way to get a Start project up and running is with the cli. Just run pnpm create @tanstack/start@latest or npm create @tanstack/start@latest depending on your package manager of...


Tanstack Start