angular - Angular error StaticInjectorError CdkConnectedOverlay overlay
问题描述
starting the environment with the command ng serve
everything works without errors, but doing a test with the command ng serve --aot
or ng serve --prod
(simulating the production version) comes out this error when you open the modal:
This is my app.module.ts:
I did a lot of research but I still have not found a solution.
I solved.
The problem was that the version of this graphic component was not updated (ng-zorro-antd), now I've updated it to the latest version and it works without errors.
Thanks anyway!
解决方案
I solved.
The problem was that the version of this graphic component was not updated (ng-zorro-antd), now I've updated it to the latest version and it works without errors.
Thanks anyway!
推荐阅读
- javascript - 使用 setInterval() 的 HTTP 轮询每 1 秒调用一次,而不是提到的间隔
- python - 在easygui multenterbox中不断更新消息框
- apache-kafka-connect - Kafka connect:kafka connect 使用的默认 acks 值是多少?
- sql - 使用 SUBSTRING 和 CHARINDEX 提取部分名称
- powerbi - 在 PowerBI 中将 dBGeography 解析为纬度和经度
- sharepoint - 使用 Graph 对驱动器项目进行多条件查询和过滤
- mips - Verilog。尝试使用 3-AluControl 位扩展数据路径和解码器以进行乘法和 bltz MIPS 指令
- java - 获取 org.apache.hadoop.hive.ql.exec.vector.DecimalColumnVector 无法转换为 org.apache.hadoop.hive.ql.exec.vector.LongColumnVector
- pandas - 有条件地删除重复行 - 啄序
- c# - .Net Core 中 NU1605 警告/错误的可能解决方法