Skip to main content

All Questions

0 votes
0 answers
2k views

React JS not working in IE 11 but in chrome, giving syntax error

I have the webpack+babel setup for React JS project. It works well in Chrome browser but gives 'Syntax error' in IE. I believe this is due to babel polyfills, so I have followed numerous solutions(...
Learner's user avatar
  • 800
1 vote
0 answers
917 views

SCRIPT445: Object doesn't support this action create-react-app

I have hit a wall with this issue. Help in any way is greatly appreciated. I have a react-app (created using create-react-app CLI) which works perfectly on all browsers except IE. I have two tabs; one ...
Abby's user avatar
  • 105
0 votes
2 answers
2k views

Target browser option in useBuiltIns/babel polyfill

I want to use 'useBuiltIns' option to load polyfills only for IE11 browser. [ '@babel/preset-env', { useBuiltIns: 'entry', debug: true, modules: false, corejs: '...
ar-coding's user avatar
  • 461
6 votes
0 answers
14k views

How to polyfill IE11 in NextJS project?

I'm trying to polyfill the project for IE11 but no matter what I do browser logs these errors: Dev mode: SCRIPT1002: Syntax error in _app.js (49004,30) 49004 const Component = props => (...
Michael Rerberg's user avatar
2 votes
2 answers
2k views

Parameter count mismatch - due to babel polyfill

To support IE11, I had to add <script src="https://cdnjs.cloudflare.com/ajax/libs/babel-polyfill/7.4.4/polyfill.min.js"></script> to my .aspx file. But this throws this error in console. ...
hightides1973's user avatar
0 votes
1 answer
382 views

script1010: unidentified syntax | Not Able to convert ES6 to ES5 using Babel for IE11

In my Reactjs code I am getting Script1010: unidentified syntax. This is coming because of types.min.js file inside node_module/types.js folder. Inside types.min.js file; o=function(...n) code ...
Avinash's user avatar
  • 999
3 votes
2 answers
3k views

Object doesn't support property or method 'scrollBy' in IE11 in React

I am using the following code to scroll scroll an element on mouseDown, and stop scrolling on mouseUp/mouseOut. scrubby(xDir) { let dub = setInterval(() => { document.getElementById("...
Finglish's user avatar
  • 9,884
1 vote
1 answer
7k views

React app does not work in IE11

When I load my ES6 react app (created using create-react-app) in production (irlmap.com) in IE11 (other browsers work fine), I get the following error: Minified React error #185. I took a screenshot ...
astrojams1's user avatar
  • 1,561
3 votes
2 answers
13k views

react with IE11 is not working, displaying blank screen

when trying to load application in IE11 it just shows blank screen and errors with syntax error on this line class App extends __WEBPACK_IMPORTED_MODULE_0_react__["Component"] { my package.json { ...
shorif2000's user avatar
  • 2,614