4
我刚刚升级到4.2.3角,和我现在越来越下一行的错误在我的AppModule文件:不再能够导入BrowserAnimationsModule在角4.2.3
import { BrowserAnimationsModule } from "@angular/platform-browser/animations";
的错误是:
./~/@angular/platform-browser/@angular/platform-browser/animations.es5.js
47:2-18
"export 'AnimationBuilder' was not found in '@angular/animations'
./~/@angular/platform-browser/@angular/platform-browser/animations.es5.js
78:2-18
"export 'AnimationFactory' was not found in '@angular/animations'
./~/@angular/platform-browser/@angular/platform-browser/animations.es5.js
612:15-31
"export 'AnimationBuilder' was not found in '@angular/animations'
./~/@angular/animations/@angular/animations/browser.es5.js
39:35-45
"export 'ɵPRE_STYLE' was not found in '@angular/animations'
./~/@angular/animations/@angular/animations/browser.es5.js
2275:29-39
"export 'ɵPRE_STYLE' was not found in '@angular/animations'
./~/@angular/animations/@angular/animations/browser.es5.js
3808:97-107
"export 'ɵPRE_STYLE' was not found in '@angular/animations'
这是在Angular 4.1.2中工作,如果我不导入此模块一切工作正常,我只是没有得到动画。
这是4.2.3中的一个错误,还是在某处发生了重大变化?
谢谢