PrismaP
Prisma9mo ago
3 replies
Lady Gaga

Prisma + Serverless + Supabase

I'm trying to get Prisma up and running again on Vercel as I'm moving off Prisma Accelerate

I'm using Supabase (Postgres) as my database provider. However, I keep getting a lot of errors due to:
1. Not using prisma from @prisma/client/edge
2. Not using Prisma Accelerate so my connection url doesn't start with prisma://

I can't use a driver adapter as
node-postgres
(
pg
) isn't supported. I have added ?pgbouncer=true to my connection string (suggested by Supabase as well), however, Prisma still doesn't want to work

What are my options right now?

I'm also using prisma-client-js right now, I'm willing to switch to the preview prisma-client if that helps?
Was this page helpful?