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.

Expected identifier: IE11 error

See original GitHub issue

Can you reproduce the problem with latest npm?

Yes.

Description

Bug.

Actual behavior

After running pure CRA build on IE11, in DevTools such error appears. image image

And it prevents app from loading.

Environment

  1. npm ls react-scripts (if you haven’t ejected): 0.9.5

  2. node -v: 6.10.2

  3. npm -v: 3.10.10

  4. Operating system: Windows 7 Enterprise

  5. Browser and version: IE11 v11.0.9600.18537

  6. Server: Microsoft-IIS/8.5

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

4reactions
gaearoncommented, May 4, 2017

I got a Windows laptop, created a new project, and I cannot reproduce this on IE11.

I can reproduce it if I use IE8 testing mode (there’s a dropdown saying “8” in the F12 developer tools panel). I think you probably have it enabled. Switch it to any number higher, and the problem will disappear.

1reaction
stasyanercommented, Nov 6, 2017

By default, IE displays webpages in the Intranet zone in compatibility view. To change this: -Press Alt to display the IE menu. -Choose Tools | Compatibility View settings -Remove the checkmark next to Display intranet sites in Compatibility View. -Choose Close.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ReactJS - SCRIPT1010: Expected identifier - Production build ...
I created a new project with create-react-app today. The production build is not running fine on IE11 ...
Read more >
IE 11 "Expected Identifier" error in commons chunk · Issue #7625
Bug report Our production build of our app breaks in IE 11 due to a syntax error: Describe the bug Tracking down this...
Read more >
IE 11 Not work on builded React code - PDF.js Express
I m open F12 Developer Tools on IE 11, show 404 file missing of file “lib/webviewer.min.js” and the Console error: SCRIPT1010: Expected identifier...
Read more >
Blank page with Expected identifier, string or number on IE 11 ...
My Vue app works perfectly on every browser except IE and Edge, i get this error : Expected identifier, string or number chunk-vendors.js...
Read more >
Javascript compile unexpected identifier IE11 - Roots Discourse
When I run yarn build:production and it compiles I get an error in IE11 Expected identifier main_xxx.js. The code turns into something like ......
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