0

When I am opening my application in IE, Mac Safari the login page is not open and I am getting error in console : SCRIPT5009: '_' is undefined SCRIPT1006: Expected ')'

  • Possible duplicate of [Angular 2 / 4 / 5 not working in IE11](https://stackoverflow.com/questions/35140718/angular-2-4-5-not-working-in-ie11) – Shabbir Dhangot Oct 12 '18 at 07:07

2 Answers2

1

search polyfill.ts file in our project and uncomment the polyfills


Are you using lodash/underscore package in your project? If yes then you need to install it

Vivek Kumar
  • 4,822
  • 8
  • 51
  • 85
0

In polyfill.ts you need to uncomment below code.

/** IE9, IE10 and IE11 requires all of the following polyfills. **/
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/weak-map';
import 'core-js/es6/set';
Karan Patel
  • 2,219
  • 3
  • 19
  • 32