Expected identifier: IE11 error
See original GitHub issueCan you reproduce the problem with latest npm?
Yes.
Description
Bug.
Actual behavior
After running pure CRA build on IE11, in DevTools such error appears.
And it prevents app from loading.
Environment
-
npm ls react-scripts
(if you haven’t ejected): 0.9.5 -
node -v
: 6.10.2 -
npm -v
: 3.10.10 -
Operating system: Windows 7 Enterprise
-
Browser and version: IE11 v11.0.9600.18537
-
Server: Microsoft-IIS/8.5
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:11 (6 by maintainers)
Top 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 >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 FreeTop 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
Top GitHub Comments
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.
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.