[英]Uncaught Error: Angular JIT compilation failed: '@angular/compiler' not loaded
I need some help again.我又需要一些帮助。 I'm setting up a new angular project, however when I add a new module it crashes the project and displayed the errors below:
我正在设置一个新的 angular 项目,但是当我添加一个新模块时,它会使项目崩溃并显示以下错误:
How do i fix this kind of error in angular project?我如何修复 angular 项目中的此类错误? I only added this component on the app.module.ts (before adding the CardsModule the project runs smoothly)
我只在 app.module.ts 上添加了这个组件(在添加 CardsModule 之前项目运行顺利)
import {CardsModule} from '@btx-components/cards';
install another version of angularfire2 also firebase. for firebase:5.0.0-rc.9 and 7.24.0 for firebase:安装另一个版本的 angularfire2 firebase。对于 firebase:5.0.0-rc.9 和 7.24.0 对于 firebase:
$ npm install firebase@7.24.0
$ npm install angularfire2@5.0.0-rc.9
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.