IE11 syntax error with v3.3.1
See original GitHub issueDescribe the bug
- Development mode throws a syntax error in IE11 on v3.3.1
SCRIPT438: Object doesn't support property or method 'entries'
Did you try recovering your dependencies?
Yes.
›» yarn --version
1.21.1
Environment
›» npx create-react-app --info
Environment Info:
System:
OS: macOS Mojave 10.14.6
CPU: (12) x64 Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
Binaries:
Node: 10.16.3 - /usr/local/bin/node
Yarn: 1.21.1 - ~/Code/makana-platform/nani/node_modules/.bin/yarn
npm: 6.9.0 - /usr/local/bin/npm
Browsers:
Chrome: 79.0.3945.130
Firefox: Not Found
Safari: 13.0.5
npmPackages:
react: ^16.12.0 => 16.12.0 (16.8.6, 0.14.9)
react-dom: ^16.9 => 16.12.0 (16.8.6)
react-scripts: 3.3.1 => 3.3.1
npmGlobalPackages:
create-react-app: Not Found
Steps to reproduce
- Upgraded to CRA v3.3.1
- Startup app in dev mode (
yarn start
) - Open site in IE11
Expected behavior
- IE11 should work
Chrome - WORKS
![Screen Shot 2020-01-31 at 6 48 09 AM](https://user-images.githubusercontent.com/31106469/73544221-eec29700-43f5-11ea-86e5-ecbf19e890e3.png)
Actual behavior
- IE11 throws
SCRIPT438: Object doesn't support property or method 'entries'
inansi-styles
- Posted an issue to that repo, was denied: https://github.com/chalk/ansi-styles/issues/57
IE11 - BROKEN
![Screen Shot 2020-01-31 at 6 49 32 AM](https://user-images.githubusercontent.com/31106469/73544198-e23e3e80-43f5-11ea-8fad-717ed88aebf6.png)
Reproducible demo
- https://github.com/afrankel-sfdo/cra-3.3.1
- clone
- yarn && yarn start
- View site in IE11
›» yarn browserslist --env="development"
chrome 79
firefox 72
ie 11
safari 13
Issue Analytics
- State:
- Created 4 years ago
- Reactions:13
- Comments:11 (4 by maintainers)
Top Results From Across the Web
jQuery v3.3.1 IE 11.0.45 SyntaxError...
Is this code that gets the syntax error within jQuery itself, or your own code, or some other library? When debugging, you should...
Read more >Angular applications throwing syntax errors on IE11 only
I have angular application which is not working on IE11 only. I have setup polyfills, import ...
Read more >IE 11 - syntax error and blank page - Get Help - Vue Forum
On chrome everything works as expected, but when I try to execute my app on IE11 I get a syntax error in app.js...
Read more >Syntax error 'SCRIPT1002' using internet explorer 11
I am facing an issue with the browser support in IE 11 of my reactjs project. Here is my code sample. package.json. JavaScript....
Read more >Create React App IE11 : SCRIPT1002: Syntax Error How to ...
Create React App IE11 : SCRIPT1002: Syntax Error How to get rid of it. ... Step 3. Add “ie 11” to development in...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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.
+1, also experiencing this.