Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Angular 2 - IE11 The value of the property 'webpackJsonp' is null or undefined, not a Function object

I am new to Angular 2. I installed Angular-CLI (followed https://github.com/angular/angular-cli) and created a sample project.

Now, I built the app using "ng build --prod" and had the "dist" folder hosted in IIS. When I browse to the site using "localhost/index.html" in IE11, everything works. The moment i browse to the same site using the server address "ServerName/index.html" I am getting:

IE11 The value of the property 'webpackJsonp' is null or undefined, not a Function object

However, doing the same in GoogleChrome and Firefox works just fine!

Your help/tips is greatly appreciated!

like image 542
Boston Developer Avatar asked Oct 26 '16 13:10

Boston Developer


1 Answers

I figured it out. I had IE11 in Compatibility mode. I removed it and everything works now. –

like image 107
Boston Developer Avatar answered Sep 27 '22 19:09

Boston Developer