-
Notifications
You must be signed in to change notification settings - Fork 77
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: window is not defined #11
Comments
Also, discussion around this issue has been happening in the |
(Just FYI—while this is being fixed, you can easily use any other component for error reporting, including a custom one. It's configurable in |
👍
@aulizko has done https://github.com/aulizko/delicate-error-reporter in the meantime :) |
@mathieumg Yeah, I switched to @aulizko's package and it has worked well running from both the server and client since it has an environment check. The unobtrusive errors are a plus as well :) |
Anybody wants to make a PR for this? |
@gaearon I'm working on PR fixing this right now ;) |
👍 |
👍 |
When using the setup recommended in react-transform-boilerplate by @gaearon, the
.babelrc
requires inredbox-react
which causes an error becausewindow
doesn't exist in Node:It would be cool to have a environment check so that this error isn't thrown when the package is
require
orimport
ed.The text was updated successfully, but these errors were encountered: