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

Fixed: ReferenceError: window is not defined & ReferenceError: navigator is not defined #98

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

MichaelDepp
Copy link

  • ReferenceError: window is not defined
  • ReferenceError: navigator is not defined

Faced this issues when I try to deploy my react js application to vercel.
So fixed this using this simple way.

Copy link

@amreen-rajmohmad amreen-rajmohmad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am also facing this error. It would be great to merge it but I see if a window is not defined we are not really setting it or creating a new one. So by default, it is as good as API not being available. Is there a way to create a window and have those apis?

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

Successfully merging this pull request may close these issues.

2 participants