Replies: 3 comments 3 replies
-
@thehien93, did you figure this out? I'm having this problem now that I've upgraded to Next.js 15 / React 19. |
Beta Was this translation helpful? Give feedback.
-
What versions of I had the same problem running |
Beta Was this translation helpful? Give feedback.
-
That error comes from Client Components prerendering on the Server (in nextjs 15?)
see https://nextjs.org/docs/app/building-your-application/rendering/client-components and reactwg/server-components#4 To me this is a bug with next-auth as it relies on the presence of the a |
Beta Was this translation helpful? Give feedback.
-
when i use SessionProvider in rootlayout folder
i get this error.
even create another component and import useSession inside Session still not fix the error.
if someone knows how to handle the error please show me.
it's my code
use useSession
Beta Was this translation helpful? Give feedback.
All reactions