Skip to content

Conversation

maxdavidson
Copy link
Contributor

react-error-overlay is broken since 6.0.10, due to the upgrades in #11624 transitively bring in chalk into the react-error-overlay iframe bundle.

chalk calls process.platform which is not available in browsers, making the code crash. This has side effects of causing the iframe overlay to not disappear, preventing the user from being able to click on anything.

This is a quick fix that overrides process.platform, to make it not crash.

Fixes: #11773, #12064, #12212
Duplicate of #12121?

@EnoahNetzach
Copy link
Contributor

#12212 has nothing to do with react-error-overlay; this PR most probably won't fix the issue described there, sadly.

@maxdavidson maxdavidson closed this by deleting the head repository Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Is this the bug of react-error-overlay?
3 participants