You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What modules are relevant for this feature request?
builders
common
express-engine
Description
When restarting xxx, when some entries were already entered in the configuration files - in the case of app.modules.ts, the CLI detects the BrowserModule and adds .withServerTransition({ appId: 'serverApp' })
It doesn't check if it was there before and as a result it is created
BrowserModule.withServerTransition({ appId: 'serverApp' }).withServerTransition({ appId: 'serverApp' }),
🔬 Minimal Reproduction
Angular 15 prepare SSR on existing app
I took over the code from another developer who was trying to add manually. CLI Add corrected all changes correctly except this one.
changed the title [-]add Universal on CLI, double added withServerTransition[/-][+]Universal schematics add double added withServerTransition[/+]on Jan 18, 2023
Activity
[-]add Universal on CLI, double added withServerTransition[/-][+]Universal schematics add double added withServerTransition[/+]fix(@schematics/angular): replace exist `BrowserModule.withServerTran…
fix(@schematics/angular): replace exist `BrowserModule.withServerTran…
fix(@schematics/angular): replace existing `BrowserModule.withServerT…
fix(@schematics/angular): replace existing `BrowserModule.withServerT…
fix(@schematics/angular): replace existing `BrowserModule.withServerT…
angular-automatic-lock-bot commentedon Feb 18, 2023
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.