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