We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
There are references to "window" in the component library. These should be found, and wrapped in if statements, to allow SSR
if (typeof window !== `undefined`) { //use window here }
Run "gatsby build" in this sandbox
It should build properly
Errors like this:
WebpackError: ReferenceError: window is not defined
Where are you seeing the error? (Environment details)
The text was updated successfully, but these errors were encountered:
#531
Sorry, something went wrong.
jaronheard
No branches or pull requests
Description
There are references to "window" in the component library. These should be found, and wrapped in if statements, to allow SSR
Steps to reproduce
Run "gatsby build" in this sandbox
Expected result
It should build properly
Actual result
Errors like this:
Environment
Where are you seeing the error? (Environment details)
The text was updated successfully, but these errors were encountered: