PrismaClient is not configured to run in Edge Runtime
Stack: SvelteKit, Vercel, Prisma (Neon adapter) & Better Auth
I've tried so many solutions I can't even recall half of them. I've spent about three hours trying to get everything up and running and I just can't get rid of this error (attached)
Here's my related files, if anyone can help solve this I'd be forever grateful.
build cmd:
schema.prisma:
lib/prisma.ts:
svelte.config.js:
I've tried so many solutions I can't even recall half of them. I've spent about three hours trying to get everything up and running and I just can't get rid of this error (attached)
Here's my related files, if anyone can help solve this I'd be forever grateful.
build cmd:
"build": "npx prisma generate && vite build",schema.prisma:
lib/prisma.ts:
svelte.config.js:
