Issue deploying on Cloudflare Workers with Prisma Accelerate + Prisma Postgres
Hi, when I am trying to deploy on Clouldflare Workers with Prisma Accelerate and Prisma Postgres. I am getting the following issues in the build and then when navigating to the page:
In the build:
Error when viewing deployed:
and testing the Worker Clouldflare side:
10 Replies
You selected the carefully hand-crafted route. A dev artisan will respond soon. Meanwhile, the
#ask-ai channel awaits if you're curious!Can you show me your schema.prisma file?
yep!
Try the rust free version of Prisma ORM
Use Prisma ORM without Rust engines | Prisma Documentation
Learn how to use Prisma ORM without Rust engines
I assume this section specifically for me right?
with
prisma-client generator
Try this config, you will have to update all the imports of prisma client to
../prisma/generated/client
also generate the client again npx prisma generateokay now the build is failing:
schema:
db.ts:
and this is beng ran before it: