Skip to content

ng generate m help does not generate module but shows help menu #25705

Closed

Description

@albanx

Which @angular/* package(s) are the source of the bug?

compiler-cli, Don't known / other

Is this a regression?

No

Description

Today I was trying to generate a module called "help" using the CLI. I ran the command:

ng generate m help

This does not generate the module but shows up the angular cli help menu.

image

Please provide a link to a minimal reproduction of the bug

No response

Please provide the exception or error you saw

No response

Please provide the environment you discovered this bug in (run ng version)

Angular CLI: 16.0.0
Node: 18.15.0
Package Manager: npm 9.5.0
OS: win32 x64

Angular: 16.0.0
... animations, cdk, cli, common, compiler, compiler-cli, core
... forms, material, platform-browser, platform-browser-dynamic
... platform-server, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1600.0
@angular-devkit/build-angular   16.0.0
@angular-devkit/core            16.0.0
@angular-devkit/schematics      16.0.0
@nguniversal/builders           16.0.0
@nguniversal/express-engine     16.0.0
@schematics/angular             16.0.0
rxjs                            7.8.1
typescript                      5.0.4

Anything else?

No response

Activity

  1. transferred this issue fromangular/angularon Aug 22, 2023
  2. added a commit that references this issue on Oct 30, 2026
    173b5a6
  3. added 2 commits that reference this issue on Oct 30, 2026
    2f0875d
    f48282a
  4. added a commit that references this issue on Nov 3, 2026
    8317b70
  5. added a commit that references this issue on Nov 3, 2026
    70afe1b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions