Angular ypeError:无法读取属性';forEach&x27;在新的AnimationTrigger(browser.es5.js:2421)中未定义的

Angular ypeError:无法读取属性';forEach&x27;在新的AnimationTrigger(browser.es5.js:2421)中未定义的,angular,Angular,我在运行简单的角度动画演示时遇到以下错误 AppComponent_Host.html:1 错误类型错误:无法读取未定义的属性“forEach” 在新的AnimationTrigger上(browser.es5.js:2421) 在buildTrigger上(browser.es5.js:2405) 在InjectableAnimationEngine.webpackJsonp…/../../animations/@angular/animations/browser.es5.js.Animat

我在运行简单的角度动画演示时遇到以下错误

AppComponent_Host.html:1 错误类型错误:无法读取未定义的属性“forEach” 在新的AnimationTrigger上(browser.es5.js:2421) 在buildTrigger上(browser.es5.js:2405) 在InjectableAnimationEngine.webpackJsonp…/../../animations/@angular/animations/browser.es5.js.AnimationEngine.RegisterRigger(browser.es5.js:4446) 在animations.es5.js:248 在Array.forEach()处 在animationrenderfactory.webpackJsonp…/../../platform browser/@angular/platform browser/animations.es5.js.animationrenderfactory.createRenderer(animations.es5.js:248) 在debugrenderFactory2.webpackJsonp…/../../core/@angular/core.es5.js.debugrenderFactory2.createRenderer(core.es5.js:13499) 在createComponentView(core.es5.js:12099) 在callWithDebugContext(core.es5.js:13467) 在Object.debugCreateComponentView[作为createComponentView](core.es5.js:12811)