Trying to spin up a worker with Prisma Accelerate on cloudflare
I am getting error while trying to run
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
Also ran the
Getting the following error.
✘ [ERROR] service core:user:throbbing-star-ca17: Uncaught Error: PrismaClientValidationError: Invalid client engine type, please use
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