Skip to content

Local generators - wrong path argument? (it is not inside the folder) #33113

@montella1507

Description

@montella1507

based on guide:
https://nx.dev/docs/extending-nx/local-generators#debugging-generators

If i run this command:

nx generate @nx/plugin:generator tools/my-plugin/src/generators/my-generator

the folder "my-generator" is not created:

Image

But in your guide, there is folder created:

Image

I need to run

nx generate @nx/plugin:generator tools/schematics/src/generators/my-generator/my-generator

to have the folder created correctly

Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions