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:
prisma:warn Attempt 1/3 failed for querying: Cannot fetch data from service:Om is not a functionprisma:warn Retrying after 73msprisma:warn Attempt 2/3 failed for querying: Cannot fetch data from service:Om is not a functionprisma:warn Retrying after 119ms
prisma:warn Attempt 1/3 failed for querying: Cannot fetch data from service:Om is not a functionprisma:warn Retrying after 73msprisma:warn Attempt 2/3 failed for querying: Cannot fetch data from service:Om is not a functionprisma:warn Retrying after 119ms