question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

IE11 syntax error with v3.3.1

See original GitHub issue

Describe 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

  1. Upgraded to CRA v3.3.1
  2. Startup app in dev mode (yarn start)
  3. Open site in IE11

Expected behavior

  • IE11 should work

Chrome - WORKS

Screen Shot 2020-01-31 at 6 48 09 AM

Actual behavior

IE11 - BROKEN

Screen Shot 2020-01-31 at 6 49 32 AM

Reproducible demo

›» yarn browserslist --env="development"
chrome 79
firefox 72
ie 11
safari 13

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:13
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

11reactions
ambroselittlecommented, Feb 3, 2020

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.

2reactions
schm-dtcommented, Feb 3, 2020

+1, also experiencing this.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found