USing the latest t3turbo with prisma

Does anyone know how to solve this? I believe the error is coming from the middleware. Dont think prisma can work with the nextjs middleware an app directory.. Hola if you have any leads. Ty
No description
1 Reply
Ayoub K
Ayoub K5mo ago
you should remove : export const runtime = "edge" or change it to "node" if you're using one of these services for your db PostgreSQL Neon PlanetScale Turso Cloudflare D1 you can use their http driver to make queries from vercel edge runtime
Want results from more Discord servers?
Add your server