NextAuth Type 'typeof import("next-auth")' has no call signatures.

I am trying to use next 15 and next auth 5.0.0 but when im doing this
export const { auth, handlers, signIn, signOut } = NextAuth({
export const { auth, handlers, signIn, signOut } = NextAuth({
I get the error in the title. When looking at the docs this is the correct way to do this, https://authjs.dev/getting-started/authentication/credentials, any advice as this is stopping my
npm run build
npm run build
Credentials
Authentication for the Web
1 Reply
Court
Court7d ago
Yes, it doesn't work correctly anymore at least for me. Hoping t3 is updated.

Did you find this page helpful?