Skip to content

ERROR trying to generate Angular 2 project: --ng2 is not registered with the new command #5615

@bogacg

Description

@bogacg
- [x ] bug report -> please search issues before submitting
- [ ] feature request

Versions.

1.0.0

Repro steps.

ng new TestApp --ng2

The log given by the failure.

The option '--ng2' is not registered with the new command. Run 'ng new --help' for a list of supported options.

Desired functionality.

That it generates a new project with Angular v.2.x

Mention any other details that might be useful.

See #5566

While trying it better use -si:

ng new TestApp -si --ng2

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