0

My Angular 4 application crashes in IE11 right at the application load.

Here is the error that I get:

enter image description here

Here is where the exception link takes me to in the IE's debugger:

enter image description here

Any ideas why this would be happening?

IE version: 11.0.9600.19003

Angular version: 4.3.6

2
  • Have you included/installed the polyfills? angular.io/guide/browser-support#polyfills Commented May 16, 2018 at 18:03
  • I have now and it works. Thank you @Ludwig Commented May 16, 2018 at 19:58

1 Answer 1

2

Because IE doesn't support "For_of"

Go to polyfill.ts

  1. Un-comment all "import" lines under /** IE9, IE10 and IE11 requires all of the following polyfills. **/ and /** IE10 and IE11 ....*/

  2. npm install --save classlist.js npm install --save web-animations-js

Ref : Angular and Internet Explorer

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.