Questions tagged [ngfactory]
4 questions
2
votes
0 answers
DynamicDialog.ngfactory: Module not found: Error: Can't resolve '../primeng-dynamicdialog.ngfactory' (Angular9/Primeng)
After upgrading from angular 8 to 9 and changed to primeng 9.1.2 (tried also 9.1.3 stay the same), it was working fine, but after the upgrade i keep receiving this error:
ERROR in ./src/app/app.module.ngfactory.js
Module not found: Error: Can't…

Heltarios
- 29
- 5
2
votes
1 answer
How to use ViewContainerRef with dynamic components from factories in Angular 9?
This question relates directly to a public Angular API: https://angular.io/api/core/ViewContainerRef#insert
I am dynamically loading components from their ngFactories via this code.
I have upgraded from Angular 8.2 to 9.1 and seeing some errors in…

Davy Jones
- 37
- 5
0
votes
0 answers
Cannot find module './app.module.ngfactory'.ts(2307)
I have uploaded my project here: https://github.com/rezaee/conFusion-test, actually it was an NativeScript-Angular project written in 2017 with version 5 or 6 that I tried to update it to Angular 8, and I did all the job but one file named…

Hasani
- 3,543
- 14
- 65
- 125
0
votes
0 answers
Angular2 : type issue while build for prod
I am trying to build an angular app for prod and get below error. When I tried to ng-serve, everything works fine but gives issue while building.
I understood the issue, it is for the passing number instead of a string, but I do not get it where in…

Varun Sukheja
- 6,170
- 5
- 51
- 93