-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
ReferenceError: document is not defined #3184
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
Comments
I came here looking for help with this same issue. |
Setting |
We have the same issue with Sentry |
This was referenced Jan 22, 2021
The patch is on its way. Sorry for the inconvenience. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Package + Version
@sentry/browser
@sentry/node
raven-js
raven-node
(raven for node)@sentry/react
Version:
Description
I am using Sentry with my Next.js project, I am using static export feature of the Next.js. Today I updated
@sentry/react
package from version5.24.2
to6.0.0
. I getReferenceError: document is not defined
both on development mode and when building.The only Sentry-related code in my project is this:
The full trace is like this:
The text was updated successfully, but these errors were encountered: