Hi I have an angular app which I converted into Angular Universal. After lots of struggle I came to a point where AppServerModuleNgFactory is undefined.
`AppServerModuleNgFactory`
is undefined when I
console.log()
When I debug the generated main.js I cannot find that class in the file at all.
Here is my build script
ng build --prod && ng run ui:server:production
AppServerModuleNgFactory is no longer available in Ivy. Instead please use AppServerModule
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With