⨯ Error [PrismaClientValidationError]: PrismaClient failed to initialize because it wasn't configured to run in this environment (Edge Runtime
(Vercel Edge Functions, Vercel Edge Middleware, Next.js (Pages Router) Edge API Routes, Next.js (App Router) Edge Route Handlers or Next.js Middleware)).
[0] In order to run Prisma Client in an edge runtime, you will need to configure one of the following options:
[0] - Enable Driver Adapters: https://pris.ly/d/driver-adapters
[0] - Enable Accelerate: https://pris.ly/d/accelerate
Driver Adapter is already set here
generator client {
provider = "prisma-client-js"
previewFeatures = [ "driverAdapters"]
}
⨯ Error [PrismaClientValidationError]: PrismaClient failed to initialize because it wasn't configured to run in this environment (Edge Runtime (Vercel Edge Functions, Vercel Edge Middleware, Next.js (Pages Router) Edge API Routes, Next.js (App Router) Edge Route Handlers or Next.js Middleware)). [0] In order to run Prisma Client in an edge runtime, you will need to configure one of the following options: [0] - Enable Driver Adapters: https://pris.ly/d/driver-adapters [0] - Enable Accelerate: https://pris.ly/d/accelerate
Driver Adapter is already set here generator client { provider = "prisma-client-js" previewFeatures = [ "driverAdapters"] }