Module '"next-auth"' has no exported member 'NextAuthOptions'. #70206
Replies: 1 comment 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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