Angular2 IE11 Unable to get property 'apply' of undefined or null reference

后端 未结 11 1299
终归单人心
终归单人心 2020-12-07 22:41

I am getting the following error after upgrading my angular2 packages to the following versions:

  • @angular/common\": \"^2.3.1
  • @angular/compiler\": \"^
11条回答
  •  -上瘾入骨i
    2020-12-07 23:16

    Stas Berkov is correct, and his answer led me to a slightly different solution:

    In my header where I load all the Angular scripts I included shim.js. (I bundle/minified on deploy). Big note: it is critical that shim.js be loaded before zone.js, otherwise you get a different error.

    
    
    
    
    
    
    

提交回复
热议问题