Reputation: 135
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!
Upvotes: 0
Views: 946
Reputation: 135
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!
Upvotes: 2
Reputation: 3513
Remove OVERLAY_PROVIDERS
from providers. It's deprecated. Only use OverlayModule
in imports.
Upvotes: 0