This project was bootstrapped with Create React App.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
-
npx create-react-app my-app
andcd my-app
-
Install react-app-polyfill
npm i react-app-polyfill
-
Import
react-app-polyfill/ie11
at the TOP of index.js
import 'react-app-polyfill/ie11'
Despite, all this, if IE11 continues to show the dreaded,
SCRIPT1002: Syntax error
0.chunk.js (15,34)
SCRIPT1002: Syntax error
main.chunk.js (280,62)
Try running npm cache clean --force