I'm having an issue in Internet Explorer while applying polyfills in react app which was created using CRA. After request to an api endpoint, a javascript error TypeError: Can't redefine non-configurable property 'error' fires even if the request response is a success. There is also no cule where it fires the error. Fetch is used for async requests. I tried to replace it with axios but it still fires the same error.
Update:
Tried with sourcemaps as well but no luck.
Here is the Error. It's in Turkish but translates to "TypeError: Can't redefine non-configurable property 'error'"