Change path for generation of my-plugin to libs/my-plugin nx g @nx/plugin:plugin libs/my-plugin This makes it work with the plugin executor generate command.
Change path for generation of my-plugin to libs/my-plugin nx g @nx/plugin:plugin libs/my-plugin This makes it work with the plugin executor generate command.