Open damirarh opened 7 years ago
Hi @damirarh
I tried every possible solution that you have suggested, but I am getting the same error.
@GaurangPoolCar Changing the entry in config.xml
was enough in my case to get cordova prepare
to install the plugin. I am still using Cordova 6.x, though, and the behavior might be different in Cordova 7, where plugins are also registered in package.json
.
There's a mismatch between the name of the plugin in
plugin.xml
(com.pylonproducts.wifiwizard
) and the name under which it is published on NPM (wifiwizard
). This means that the plugin is saved toconfig.xml
ascom.pylonproducts.wifiwizard
, when you install it with:As a result, it fails to install when you call
cordova prepare
, because it can't findcom.pylonproducts.wifiwizard
in NPM. You need to manually cahnge the entry inconfig.xml
towifiwizard
to make it work.One of the two names should be changed so that they match. I guess it will break less people if
plugin.xml
is changed.