Replies: 1 comment
-
I think the fix is quite simple, I will open a PR if I get a moment. It's a question of updating https://github.com/nextauthjs/next-auth/blob/main/packages/adapter-prisma/src/index.ts#L18 - import { Prisma, type PrismaClient } from "@prisma/client"
+ import { type PrismaClient } from "@prisma/client"
+ import { PrismaClientKnownRequestError } from "@prisma/client/runtime/library"; I'm not sure about the PrismaClient typing though, since it should come from the output dir |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
For full details, see this closed issue: #13035.
In the latest version of Prisma, an output directory is required, which renders this adapter broken.
Unfortunately, I don't have the capacity to create a reproduction URL and post the issue in the correct channels.
Beta Was this translation helpful? Give feedback.
All reactions