Module '"next-auth"' has no exported member 'NextAuthOptions'. #70206
Replies: 4 comments 4 replies
-
@icyJoseph Bro hope your fine, and sorry for disturbing. Can you please help me with that? |
Beta Was this translation helpful? Give feedback.
4 replies
-
I am facing this error |
Beta Was this translation helpful? Give feedback.
0 replies
-
Could you fix this? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I am facing the same problem, however I am currently using next auth v5, it should be using |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey there, I'm facing issues with NextAuthOptions, getServerSession can anyone please help to fix these issues I have tried lot of things but could not resolved below is the code:
@/lib/auth
Error: Module '"next-auth"' has no exported member 'NextAuthOptions'. Did you mean to use 'import NextAuthOptions from "next-auth"' instead?ts(2614)
import NextAuthOptions
app/(dashboard)/user.tsx:
Error: Module '"next-auth"' has no exported member 'getServerSession'. Did you mean to use 'import getServerSession from "next-auth"' instead?ts(2614)
import getServerSession
Beta Was this translation helpful? Give feedback.
All reactions