简体   繁体   中英

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:

在此处输入图像描述

How do i fix this kind of error in angular project? I only added this component on the app.module.ts (before adding the CardsModule the project runs smoothly)

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:

$ npm install firebase@7.24.0
$ npm install angularfire2@5.0.0-rc.9

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM