Prisma Client Doesn't Recognize Accelerate #23993
Labels
bug/0-unknown
Bug is new, does not have information for reproduction or reproduction could not be confirmed.
kind/bug
A reported bug.
team/client
Issue for team Client.
topic: pdp/accelerate
Bug description
I'm using NextAuth for authentication and using Prisma to manage it. I switched to Prisma Accelerate because I wanted to access db stuff within the middleware.
So I went, and I extended it with Accelerate, and I get this error:
How to reproduce
Setup the database connection like this
Expected behavior
Middleware should be working with Accelerate and Prisma should be able to detect it.
Prisma information
Environment & setup
Prisma Version
The text was updated successfully, but these errors were encountered: