我最近将我的项目升级到 Angular 2 RC 6 并尝试 Angular 2 RC 6 AoT 编译。
在我的项目中,我正在使用 ng2-charts ( https://github.com/valor-software/ng2-charts ) 但现在当我尝试使用ngc使用 Angular 2 提前编译 (AoT) 编译我的项目时,它会在下面抛出错误:
Error: Unexpected value 'CHART_DIRECTIVES' declared by the module 'AppModule'
谁能指导如何解决这个错误?