Despite the countless discussions on this issue, I have not found a solution that works for me.
This is the current content of my polyfills.browser.ts file:
import 'ie-shim';
import 'core-js/es7/reflect';
import 'reflect-metadata';
import 'zone.js/dist/zone';
I have tried various methods to resolve this problem.
Firstly, I attempted adding all default uncommented imports:
import 'core-js/es6/symbol';
import 'core-js/es6/object';
import 'core-js/es6/function';
import 'core-js/es6/parse-int';
import 'core-js/es6/parse-float';
import 'core-js/es6/number';
import 'core-js/es6/math';
import 'core-js/es6/string';
import 'core-js/es6/date';
import 'core-js/es6/array';
import 'core-js/es6/regexp';
import 'core-js/es6/map';
import 'core-js/es6/set';
Additionally, I experimented with:
import "core-js/client/shim";
and also tried:
import 'mdn-polyfills/Object.assign';
as well as
import 'core-js';
All these imports were added at the beginning of polyfills.browser.ts
Unfortunately, none of them resolved the issue and I continue to encounter the error message stating Object doesn't support property or method 'assign' in IE11.