-
Notifications
You must be signed in to change notification settings - Fork 7
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
Problems installing new version #1
Comments
Interesting! Is it possible for you to create an example Gatsby project that exposes this bug? I'm not super familiar with Gatsby but I'd gladly try to troubleshoot this issue with you. |
Hi Tood! I have prepared this gatsby project which shows the error: https://github.com/larturi/react-dark-mode-toggle-2-error To run in development mode: To replicate the error at build time: Error: ERROR #95312 "document" is not available during server side rendering. See our docs page for more info on this error: https://gatsby.dev/debug-html 19637 | var key = options.key;
WebpackError: ReferenceError: document is not defined Regards! |
I have the same problem with SSR on NextJS.
|
Hello and thanks for the new version.
Unfortunately, when uninstalling the old version and installing the new one, I am having a problem compiling my project with Gatsby.
https://www.gatsbyjs.com/docs/debugging-html-builds/
Greetings
The text was updated successfully, but these errors were encountered: