nextauth-nextjs14-prisma icon indicating copy to clipboard operation
nextauth-nextjs14-prisma copied to clipboard

'AdapterAccount' is not assignable to type 'Promise

Open eiranstudio opened this issue 4 months ago • 0 comments

erAccount | null | undefi...'. Type 'AdapterAccount' is not assignable to type 'Promise | Awaitable<AdapterAccount | null | undefined>'. Type 'AdapterAccount' is missing the following properties from type 'Promise': then, catch, finally, [Symbol.toStringTag]

9 | export const { handlers, auth, signIn, signOut } = NextAuth({ 10 | session: { strategy: 'jwt' },

11 | adapter: PrismaAdapter(prisma), | ^ 12 | pages: { 13 | signIn: '/login', 14 | }, Linting and checking validity of types .. ELIFECYCLE  Command failed with exit code 1.

eiranstudio avatar Oct 05 '24 10:10 eiranstudio