Skip to content

ng-new ask the same questions twice. #19074

@infacto

Description

@infacto

🐞 Bug report

Command

  • new

Is this a regression?

First time I see that. After update to Angular 11 (next) today.

Description

When creating a new project with ng new the CLI ask the same questions twice.
I think this is since the new question about strict-mode.

🔬 Minimal Reproduction

  1. Update the global CLI: npm install -g @angular/cli@11.0.0-next.6
  2. Call ng new.
  3. Enter the name.
  4. Answer the strict-mode question.
  5. Enjoy a Déjà-vu. Same question about the name and strict-mode. Fortunately, it's not an endless loop. Only twice.

🌍 Your Environment


Angular CLI: 11.0.0-next.6
Node: 10.22.0
OS: win32 x64

Angular: 11.0.0-next.5
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Ivy Workspace: Yes

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1100.0-next.6
@angular-devkit/build-angular   0.1100.0-next.6
@angular-devkit/core            11.0.0-next.6
@angular-devkit/schematics      11.0.0-next.6
@angular/cli                    11.0.0-next.6
@schematics/angular             11.0.0-next.6
@schematics/update              0.1100.0-next.6
rxjs                            6.6.3
typescript                      4.0.3

Windows 10 PowerShell 5.1

Screenshots

image
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions