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 function
prisma:warn Retrying after 73ms
prisma:warn Attempt 2/3 failed for querying: Cannot fetch data from service:
Om is not a function
prisma:warn Retrying after 119ms
prisma:warn Attempt 1/3 failed for querying: Cannot fetch data from service:
Om is not a function
prisma:warn Retrying after 73ms
prisma:warn Attempt 2/3 failed for querying: Cannot fetch data from service:
Om is not a function
prisma:warn Retrying after 119ms
I have tried with and without @prisma/nextjs-monorepo-workaround-plugin, doesn't seem to make a difference.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server