Replies: 1 comment
-
hey @bytesagar I think the reason might be that you are attempting to invoke jitsi before the client side is available. Since nextjs has server side rendering capabilities there is a lifecycle in which the window property won't exist, make sure you move your code inside to when the window is available. Usually that is inside Alternatively, I'd suggest looking at importing modules without SSR into Nextjs for this use case https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr |
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
-
I was trying to integrate the react-jutsu in nextjs app, its throwing me window is not defined error.
Beta Was this translation helpful? Give feedback.
All reactions