简体   繁体   English

未捕获错误:Angular JIT 编译失败:'@angular/compiler' 未加载

[英]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.

相关问题 未捕获(承诺):错误:Angular JIT 编译失败:'@angular/compiler' 未加载! 在 angular 9 - Uncaught (in promise): Error: Angular JIT compilation failed: '@angular/compiler' not loaded! in angular 9 ERROR 错误:Angular JIT 编译失败:'@angular/compiler' 未加载 - ERROR Error: Angular JIT compilation failed: '@angular/compiler' not loaded Angular JIT 编译失败:未加载“@angular/compiler” - Angular JIT compilation failed: '@angular/compiler' not loaded 带有 Angular 9 的 Ionic 5 - Angular JIT 编译失败:“@angular/compiler”未加载 - Ionic 5 with Angular 9 - Angular JIT compilation failed: '@angular/compiler' not loaded 空白屏幕 - Angular JIT 编译失败:'@angular/compiler' 未加载 - Blank Screen - Angular JIT compilation failed: '@angular/compiler' not loaded 未捕获的错误:Angular 12 中的 JIT 编译器不可用 - Uncaught Error: JIT compiler unavailable in Angular 12 Angular 9 未处理的 Promise 拒绝:Angular JIT 编译失败错误 - Angular 9 Unhandled Promise rejection: Angular JIT compilation failed error 未捕获(承诺):错误:未加载运行时编译器 Angular 8 - Uncaught (in promise): Error: Runtime compiler is not loaded Angular 8 错误:执行 AngularJS 到 Angular 13 迁移时,JIT 编译因可注入 class PlatformLocation {} 失败 - Error:JIT compilation failed for injectable class PlatformLocation {} while doing AngularJS to Angular 13 migration 导入angular2-calendar-heatmap导致JIT编译错误 - Importing angular2-calendar-heatmap causes JIT compilation error
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM