当前位置:网站首页>Module not found: Error: Can't resolve './$$_ gendir/app/app. module. ngfactory'
Module not found: Error: Can't resolve './$$_ gendir/app/app. module. ngfactory'
2022-07-02 07:15:00 【android_ Mr_ summer】
brief introduction
Creating angular When the project is , Package generation dist The following error occurred in the file :
ERROR in ./src/main.ts
Module not found: Error: Can't resolve './$$_gendir/app/app.module.ngfactory' in 'D:\web\task\src' @ ./src/main.ts 3:0-74 @ multi ./src/main.ts Solution :
hold ng build –prod Replace with ng build –env=prod, Then it will compile successfully .
reason : This is not based on aot Based on ,ng build –env = prod: use environment.prod.ts Replace environment.ts, But it is a simple ng build.ng build –prod: Use aot + environment.prod.ts Replaced improved version ( Before , It is ng build –prod –aot)
边栏推荐
- Sqli labs customs clearance summary-page2
- In depth study of JVM bottom layer (II): hotspot virtual machine object
- ARP攻击
- Sqli - Labs Clearance (less6 - less14)
- mapreduce概念和案例(尚硅谷学习笔记)
- Sqli-labs customs clearance (less1)
- Sqli labs customs clearance summary-page3
- Go common compilation fails
- php中计算两个日期之前相差多少天、月、年
- php中计算树状结构数据中的合计
猜你喜欢

在php的开发环境中如何调取WebService?

Cve-2015-1635 (ms15-034) Remote Code Execution Vulnerability recurrence

Cve - 2015 - 1635 (ms15 - 034) réplication de la vulnérabilité d'exécution de code à distance

CVE-2015-1635(MS15-034 )遠程代碼執行漏洞複現

Sqli labs customs clearance summary-page3

DNS攻击详解

Sqli labs customs clearance summary-page1

CSRF attack

ssm人事管理系统

类加载器及双亲委派机制
随机推荐
SQLI-LABS通关(less15-less17)
JS divides an array into groups of three
叮咚,Redis OM对象映射框架来了
UEditor . Net version arbitrary file upload vulnerability recurrence
搭建frp进行内网穿透
Oracle rman自动恢复脚本(生产数据向测试迁移)
Explain in detail the process of realizing Chinese text classification by CNN
User login function: simple but difficult
oracle-外币记账时总账余额表gl_balance变化(上)
sqli-labs通关汇总-page4
Data warehouse model fact table model design
Explanation of suffix of Oracle EBS standard table
How to call WebService in PHP development environment?
Brief analysis of PHP session principle
Oracle EBS database monitoring -zabbix+zabbix-agent2+orabbix
Laravel8中的find_in_set、upsert的使用方法
sqli-labs通关汇总-page2
In depth study of JVM bottom layer (IV): class file structure
RMAN增量恢复示例(1)-不带未备份的归档日志
sparksql数据倾斜那些事儿