Trying to spin up a worker with Prisma Accelerate on cloudflare

I am getting error while trying to run wrangler dev locally. I've defined the DATABASE_URL , DIRECT_URL in .env file and workers.toml (unsure about which one it actually takes) I have also defined engineType in schema.prisma file to library. But still getting the below error. Also ran the npx generate cmd with no-engine Getting the following error. ✘ [ERROR] service core:user:throbbing-star-ca17: Uncaught Error: PrismaClientValidationError: Invalid client engine type, please use library or binary
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?