I'm seeing weird things going on with the installation process.
I add the plugin:
$ cordova plugin add wifiwizard
Saved plugin info for "com.pylonproducts.wifiwizard" to config.xml
It works but why is it adding it as com.pylonproducts.wifiwizard rather than wifiwizard? Looking at config.xml I see it called <plugin name="com.pylonproducts.wifiwizard" spec="~0.2.11" />. Looking at package.json I see two names used for it:
I'm seeing weird things going on with the installation process.
I add the plugin:
It works but why is it adding it as
com.pylonproducts.wifiwizard
rather thanwifiwizard
? Looking atconfig.xml
I see it called<plugin name="com.pylonproducts.wifiwizard" spec="~0.2.11" />
. Looking atpackage.json
I see two names used for it:Now if I run
cordova prepare android
a second entry ofcom.pylonproducts.wifiwizard
shows up in thedependencies
.Now if I try to run
npm i
, as my build system is doing, I get an error:Furthermore, if you try to remove the package you get an error:
If you use
npm un com.pylonproducts.wifiwizard
you get the same thing.What's going on here?