Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReferenceError: window is not defined #4

Open
inkxk opened this issue Apr 29, 2022 · 2 comments
Open

ReferenceError: window is not defined #4

inkxk opened this issue Apr 29, 2022 · 2 comments

Comments

@inkxk
Copy link

inkxk commented Apr 29, 2022

I use with Next.js and i got this error

Screen Shot 2565-04-29 at 12 54 05

Screen Shot 2565-04-29 at 12 54 12

@shamin
Copy link
Owner

shamin commented Apr 29, 2022

This might be a problem with next.js since it is rendering the html in server side and it is not able to access window object. In this package I am using window. Anyway, I will try this in next.js and see what the issue is.

@jhoanborges
Copy link

+1 using next js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants