Questions tagged [babel-polyfill]

Babel Polyfill will emulate a full ES6 environment. This polyfill is automatically loaded when using babel-node.

Installation:

$ npm install babel-polyfill

To find more information :

265 questions
2
votes
1 answer

Vue not working in IE11 despite Babel Polyfill

unfortunately, my most recent application is required to support Internet Explorer 11. This requirement came somewhat suprising to me, so I already built the applications frontend with Vue.js. The backend is written in Laravel, therefore I use…
mapawa
  • 179
  • 1
  • 4
  • 16
2
votes
3 answers

React App - Bable Polyfill not working correctly IE11

I am working on a react app that has a reported issue that I am scratchning my head on and seems that a number of people have also had this issue. The error in the console is All attempts to resolve have been unsuccessful including these links…
Simon Price
  • 3,011
  • 3
  • 34
  • 98
2
votes
1 answer

What does this SCRIPT1002: Syntax error in IE11 mean? (Vue)

I've made a web app in Vue.JS and it won't compile in IE11, it just shows a blank page. I have used babel's polyfill, however it still does not work. The error is: SCRIPT1002: Syntax error chunk-vendors.js…
2
votes
1 answer

How can I set up polyfills correctly so that my Vue.JS website works on Internet Explorer 11?

I have a project built with Laravel and Vue.JS (Using Bootstrap-Vue also). Everything works as it should on all browsers including Edge. But as you guessed it, not in IE11. I have tried various configurations of using babel/polyfills. In my…
ImranR
  • 516
  • 2
  • 13
  • 30
2
votes
0 answers

getting require.context is not a function while runnning tests after upgrading to React 16.9

I am getting the below error " Test suite failed to run TypeError: require.context is not a function" after upgrading to react 16.9 from React 16.4. I have tried replacing the @babel-polyfill with corejs/stable but no use. Only test cases are…
Gaurav Mithas
  • 67
  • 2
  • 8
2
votes
4 answers

IE11 Object doesn't support property or method 'Symbol(Symbol.iterator)_a.2p3bca3ct9h

I am using Angular 8, tslint 5.15 & typescript v3 I am reading file as ArryaBuffer using below code const reader = new FileReader(); reader.readAsArrayBuffer(); reader.onload = () => { this.uploadedData= new…
Jayesh Dhandha
  • 1,983
  • 28
  • 50
2
votes
0 answers

Babel 7.7 - replace babel/polyfill with core-js@3

Since @babel/polyfill was deprecated in 7.4.0, I am trying to directly add core-js and setting the version via the corejs option as decribed in the Babel documentation.. I am getting errors related to polyfill when trying this approach, though.…
Kermit
  • 2,865
  • 3
  • 30
  • 53
2
votes
2 answers

Unable to polyfill Object.fromEntries in Ember

I have a simple Ember app and I need to polyfill Object.fromEntries in a component. For reference, I use Safari 12.1.1 that supports fromEntries natively and Safari 11.1.1 that does not. AFAIK, all I should need is a proper ember-cli-build.js…
krukid
  • 4,285
  • 5
  • 31
  • 30
2
votes
2 answers

Parameter count mismatch - due to babel polyfill

To support IE11, I had to add to my .aspx file. But this throws this error in console. Uncaught Sys.ParameterCountException:…
2
votes
1 answer

Is their Any Error boundary in web components

Is their anything in web components (lit-html) like error boundary in React.
aaviss
  • 401
  • 2
  • 10
  • 29
2
votes
2 answers

If my .vue files are all the same, how can I avoid repetition?

I am new to Vue and there is a lot I like about it, but I do not like putting my templates, scripts, and styles all in the same file. Instead I'd rather split the concerns by doing: