-
-
Notifications
You must be signed in to change notification settings - Fork 695
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: document is not defined #194
Comments
Screenfull is meant to run in a browser. The previous version did indeed polyfill |
Dear @RyanWarner |
@tranmanhhung I solved the problem by downgrading back to version 5.1.0. |
I just found solved this problem by..
})(); line 56 added if (typeof window === 'object') { |
I updated from 5.1.0 to 6.0.0 and am now getting the error
during server side rendering in a NextJS app.
The text was updated successfully, but these errors were encountered: