Hi :wave: Been using Netlify, but trying out Cloudflare workers. Can't even seem to run locallt when using `cloudflare({ viteEnvironment: { name: 'ssr' } })` in vite. ```ts const config = defineConfig({ define: { __APP_VERSION__: JSON.stringify(pkg.version), }, plugins: [ devtools(), // this is the plugin that enables path aliases viteTsConfigPaths({ projects: ['./tsconfig.json'], }), tailwindcss(), tanstackStart(), viteReact(), // Cloudflare must come AFTER tanstackStart cloudflare({ viteEnvironment: { name: 'ssr' } }), ], // Exclude TanStack Start virtual modules from dependency optimization // Also tried without this optimizeDeps: { exclude: [ '@tanstack/react-start', '@tanstack/start-server-core', '@tanstack/react-start/server', '@tanstack/react-router-ssr-query', ], }, // Also tried without this) ssr: { // Don't externalize these - let Vite bundle them noExternal: [ '@tanstack/react-router-ssr-query', ], }, test: { globals: true, environment: 'jsdom', setupFiles: ['./src/tests/test-setup.ts'], }, }) export default config ``` Not sure if related, but using Prisma + Neon: ```ts import { neonConfig } from "@neondatabase/serverless"; import { PrismaNeon } from "@prisma/adapter-neon"; // Uses HTTP fetch instead of WebSockets - more reliable on edge neonConfig.poolQueryViaFetch = true; const adapter = new PrismaNeon({ connectionString: process.env.DATABASE_URL, }); declare global { var __prisma: PrismaClient | undefined; } export const prisma = globalThis.__prisma || new PrismaClient({ adapter }); if (process.env.NODE_ENV !== "production") { globalThis.__prisma = prisma; } ``` Also using `better-auth` latest `1.4.14`: ```ts import { betterAuth } from "better-auth"; import { prismaAdapter } from "better-auth/adapters/prisma"; import { tanstackStartCookies } from "better-auth/tanstack-start"; import { prisma } from "@/db"; export const auth = betterAuth({ database: prismaAdapter(prisma, { provider: "postgresql", }), emailAndPassword: { enabled: true, }, secret: process.env.BETTER_AUTH_SECRET || "", plugins: [tanstackStartCookies()], // make sure this is the last plugin in the array }); ``` Anything obvious im missing? Keep seeing: `Error: There is a new version of the pre-bundle for "/project/node_modules/.vite/deps_ssr/better-auth.js?v=9e898bef", a page reload is going to ask for it. at CustomModuleRunner.cachedModule (workers/runner-worker.js:1196:20) ... 8 lines matching cause stack trace ... at CustomModuleRunner.cachedRequest (workers/runner-worker.js:1084:73) { cause: Error: There is a new version of the pre-bundle for "/project/node_modules/.vite/deps_ssr/better-auth.js?v=9e898bef", a page reload is going to ask for it. at CustomModuleRunner.cachedModule (workers/runner-worker.js:1196:20) at request (workers/runner-worker.js:1123:83) at /project/src/lib/auth/auth.ts:1:1 at Object.runInlinedModule (workers/runner-worker.js:1314:4) at CustomModuleRunner.directRequest (workers/runner-worker.js:1166:59) at CustomModuleRunner.cachedRequest (workers/runner-worker.js:1084:73) at /project/src/routes/api/export/user-data.ts:5:1 at Object.runInlinedModule (workers/runner-worker.js:1314:4) at CustomModuleRunner.directRequest (workers/runner-worker.js:1166:59) at CustomModuleRunner.cachedRequest (workers/runner-worker.js:1084:73) { remote: true }, status: 500, statusText: undefined, headers: undefined, data: undefined, body: undefined, unhandled: true } (x2)` Using vars defined in .dev.vars (!) Failed to run dependency scan. Skipping dependency pre-bundling. Error: The following dependencies are imported but could not be resolved: @/components/ui/button (imported by /project/src/routes/support-success.tsx) Are they installed? at file:///project/node_modules/vite/dist/node/chunks/config.js:31902:33 at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async file:///project/node_modules/vite/dist/node/chunks/config.js:34110:15