Reputation: 156
I created a strapi project without using the strapi quickstart feature and now we are unable to create custom plugins for strapi.
Upon running the command to create a new plugin, we are getting the following error message:
error No generator called `plugin` found.
The command which I used was
npm run strapi generate:plugin my-form
Upvotes: 0
Views: 1844
Reputation: 156
The strapi module under the node_modules
folder was lacking the strapi-generate-plugin
plugin.
Open the terminal in the node_modules/strapi
folder of the project and install the plugin.
$ cd path/to/poject/node_modules/strapi && sudo npm i strapi-generate-plugin
Upvotes: 3