相关疑难解决方法(0)

由angular-cli 1.0.0构建的Angular 4.0.0应用程序无法在IE11中运行

我尝试在Internet Explorer 11中运行由angular-cli 1.0.0构建的我的处女Angular 4应用程序,但是我没有成功,我收到以下错误:

Error: The "apply" property of an undefined or null reference can not be retrieved.
Run Code Online (Sandbox Code Playgroud)

我没有安装额外的库,它只是一个新生成的项目.在谷歌浏览器中它完美运行.我的package.json:

{
"name": "angi4testie",
"version": "0.0.0",
"license": "MIT",
"scripts": {
  "ng": "ng",
  "start": "ng serve",
  "build": "ng build",
  "test": "ng test",
  "lint": "ng lint",
  "e2e": "ng e2e"
},
"private": true,
"dependencies": {
  "@angular/common": "^4.0.0",
  "@angular/compiler": "^4.0.0",
  "@angular/core": "^4.0.0",
  "@angular/forms": "^4.0.0",
  "@angular/http": "^4.0.0",
  "@angular/platform-browser": "^4.0.0",
  "@angular/platform-browser-dynamic": "^4.0.0",
  "@angular/router": "^4.0.0",
  "core-js": "^2.4.1",
  "rxjs": "^5.1.0",
  "zone.js": "^0.8.4"
},
"devDependencies": {
  "@angular/cli": "1.0.0",
  "@angular/compiler-cli": "^4.0.0", …
Run Code Online (Sandbox Code Playgroud)

internet-explorer-11 angular-cli angular4 angular

25
推荐指数
2
解决办法
2万
查看次数