0
我使用NG-闪电在我的角度项目,运行AOT我得到以下错误,当以ng雷击模块之一汇总AOT错误:“A模块不能导入自己”
aot\node_modules\ng-lightning\popovers\popover.ngfactory.js (10:0)
A module cannot import itself
..
import * as i3 from './popover.ngfactory';
任何想法如何克服这样的错误?
什么需要降级?这很奇怪,因为我只有ng-lightning这个问题,而不是一般的 – Yuvals
Angular本身。它会影响其他依赖于角度的包。请参阅https://github.com/angular/material2/issues/5081和https://github.com/angular/angular/commit/ed73d4f3ac6b542bf5ea3eb73fbe91e2ceabcdb4。您在项目中使用的角度版本是什么? – Raven
我正在使用4.2.2。那么你是否建议降级核心? – Yuvals