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
1 Reply
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