-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
IE11 syntax error with v3.3.1 #8405
Comments
Ah yes it looks like this is a change from https://unpkg.com/react-error-overlay@6.0.4/lib/index.js I think what's happening is there isn't an appropriate create-react-app/packages/react-scripts/config/webpack.config.js Lines 457 to 493 in 3190e4f
Did you want to try putting in a PR that adds |
#8164 could also be related? |
I struggled with this today too: ended up in downgrading to 3.2.0. which worked. Changing browserslist did nothing. There’s a recent issue at babel where polyfills are not applied in dev which is could be the root cause? |
+1, also experiencing this. |
I really don't mean this sarcastically. Could y'all add "Open in IE 11" to your test plans for CRA? This plus this, both very recently, where it breaks immediately in IE. Both head scratchers until we figure it out/Google and find the issue(s) here. |
the same issue on my side with the same CRA version - v3.3.1 |
as a quick fix -- overriding config to so if you use https://github.com/timarney/react-app-rewired
|
I suspect reverting #8164 will fix it for folks - at least in |
As I mentioned in #8438. The temporary solution could be: Download: core-js-bundle.js from https://unpkg.com/core-js-bundle@3.6.4/index.js In ./public/index.html
Ugly hack but working so far I've checked |
This issue makes one wonder why a module dedicated to terminal colors is sent to browsers in the first place. To my knowledge, chalk does not support the browser console in any way. |
IE11 was failing in dev mode due to missing Object.entries polyfill in `react-erro-overlay` :( facebook#8405 (comment)
add this to your package.json,
|
Describe the bug
SCRIPT438: Object doesn't support property or method 'entries'
Did you try recovering your dependencies?
Yes.
Environment
Steps to reproduce
yarn start
)Expected behavior
Chrome - WORKS
Actual behavior
SCRIPT438: Object doesn't support property or method 'entries'
inansi-styles
IE11 - BROKEN
Reproducible demo
The text was updated successfully, but these errors were encountered: