Cannot redefine non-configurable property 'values' on <= IE11
See original GitHub issueI’ve included this before my bundle:
<script type='text/javascript' src='https://cdn.polyfill.io/v2/polyfill.min.js?features=default%2Ces6%2Cfetch&ver=4.8.2'></script>
However, IE11 (and lower) crash on an error:
Issue Analytics
- State:
- Created 6 years ago
- Comments:18
Top Results From Across the Web
TypeError: can't redefine non-configurable property "x"
The JavaScript exception "can't redefine non-configurable property" occurs when it was attempted to redefine a property, but that property is non-configurable.
Read more >React TypeError: Can't redefine non-configurable property ...
I'm having an issue in Internet Explorer while applying polyfills in react app which was created using CRA. After request to an api...
Read more >Cannot redefine non-configurable property 'values' on <= IE11 -
Cannot redefine non -configurable property 'values' on <= IE11.
Read more >Can't redefine non-configurable property "x" - GeeksforGeeks
This JavaScript exception can't redefine non-configurable property occurs if user tries to redefine a property, but that property is non- ...
Read more >"Something went wrong" error configuring SPFx component in ...
Something went wrong If the problem persists, contact the site administrator and ... Cannot redefine non-configurable property 'startsWith' ...
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
Experiencing the same issues in IE11 where the minified build doesn’t work.
This works fine: https://cdn.polyfill.io/v2/polyfill.js?features=es5,es6,es2016,es2017|gated&flags=gated&unknown=polyfill&callback=onPolyfillsLoad
This crashes: https://cdn.polyfill.io/v2/polyfill.min.js?features=es5,es6,es2016,es2017|gated&flags=gated&unknown=polyfill&callback=onPolyfillsLoad
with the error
Cannot redefine non-configurable property 'values'
in IE11Nope. I recalled one site that I made and used polyfill.io, and it seems to be working.
I’ve since used Webpack & babel-polyfill for polyfilling.