Skip to content

Universal schematics add double added withServerTransition #24563

Closed

Description

@Zuluseq

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.

Activity

  1. changed the title [-]add Universal on CLI, double added withServerTransition[/-] [+]Universal schematics add double added withServerTransition[/+] on Jan 18, 2023
  2. added
    freq1: low
    on Jan 18, 2023
  3. self-assigned this
    on Jan 18, 2023
  4. added 3 commits that reference this issue on Jan 18, 2023
    0fc9708
    b653deb
    ad83d24
  5. added 2 commits that reference this issue on Jan 18, 2023
    c8a3b30
    0f5fb7e
  6. angular-automatic-lock-bot commented on Feb 18, 2023

    @angular-automatic-lock-bot

    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.

  7. locked and limited conversation to collaborators on Feb 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: @schematics/angularfreq1: lowseverity3: brokentype: bug/fix

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions