Closed ca136 closed 4 years ago
Kindly see: https://github.com/angular/angular-cli/issues/14646#issuecomment-529388013
Duplicate of #14646
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
π Bug report
Command (mark with an
x
)Is this a regression?
Yes, the previous version in which this bug was not present was: 8 ### Description When upgrading an Angular 8 workspace that uses server-side rendering, it looks like `@angular-devkit/build-angular:server` isn't generating an `NgModuleFactory`. Previously running that builder would generate something like `AppServerModuleNgFactory`, but when upgrading to Angular 9 it looks like it generates an `AppServerModule` that isn't compatible with `renderModuleFactory` or `ngExpressEngine`. ## π¬ Minimal Reproduction Clone this repo (based on the angular-io universal example): https://github.com/ca136/no-ngfactory-angular9 Run a build: ``` npm run build:ssr ``` Run the server: ``` npm run serve:ssr ``` ## π₯ Exception or Error ## π Your EnvironmentAnything else relevant?