Closed vilasp closed 3 years ago
You can use npx @capacitor/cli@2 plugin:generate
to build a capacitor 2 plugin. Your error happens because npx
will pull the local package you have in your project or the latest available one on npm. I'll update the docs to be a bit more clear.
As the title explains, running
npx @capacitor/cli plugin:generate
gives the following error,Are we not suppose to be able to create v2 plugins anymore? Running the command suggested by the output will create a v3 template with v3 dependencies