Hi, Hope you'll doing well
I'm using cloudflare workers, and running to a strange issue, as it is implemented as the docs mentions below
https://www.prisma.io/docs/guides/deployment/deployment-guides/deploying-to-cloudflare-workers
The error mentioned is "Error: PrismaClient is unable to be run in the browser. In case this error is unexpected for you, please report it in
https://github.com/prisma/prisma/issues"
- We're using dataproxy client using the command "PRISMA_CLIENT_ENGINE_TYPE=dataproxy npx prisma generate"
- Rollup config which adds the part of alias "'@prisma/client$': require.resolve('@prisma/client'),"
- Prisma schema & Prisma Data Platform
- Env key for both shadow db & db url is there
- Locked ts loader at 8.3.0 as suggested
Any recommendations what else can it be the issue?