Problems with Turborepo + Prisma Data Proxy / Edge Client
I'm not 100% sure if this is a Turborepo problem or not but my guess is that it is. I have a Turborepo-based (pnpm too if that matters) monorepo setup for a tRPC + Next.js + Prisma project. I am using @prisma/client/edge (I've tried to replicate this issue without the data proxy, but it doesn't work using prisma in my next middleware).
Error message in server console:
I have tried with and without
@prisma/nextjs-monorepo-workaround-plugin
, doesn't seem to make a difference.0 Replies