Plugins - Install Local Copy: Unable to parse plugin.xml - visual-studio-cordova

I'm having problems installing plugins with VS2015 Community + Cordova. I followed the instructions to install custom local and I get the error:
Visual Studio was unable to parse plugin.xml
Instructions to add local plugin copy: http://taco.visualstudio.com/en-us/docs/tips-and-workarounds-general-readme/#install-from-a-local-copy
I'm unable to install plugins with config.xml > Plugins > Core and I get the same error
Note: I recently update Node to v4.2.1. Adding plugins has worked great in the past with no problems.
Any ideas on how to fix or work around the problem?

Got it working, but not sure where the problem originates.
I'm was using Node v4.2.1 and Cordova 5.3.1
Solution was to update to Cordova 5.3.3
Failure to add plugin:
Changing Cordova version number:
Success adding plugin:

Related

Firebase Ionic 4 plugin

I get the following error all the time:
Discovered plugin "cordova-plugin-firebase" in config.xml. Adding it to the project
Installing "cordova-plugin-firebase" for ios
Error during processing of action! Attempting to revert...
Failed to install 'cordova-plugin-firebase': CordovaError: Uh oh!
File already exists at destination "/Users/alexcarrascosalvador/Documents/Projects/RACE/race-sos/platforms/ios/RACE SOS/Resources/GoogleService-Info.plist" for resource file specified by plugin cordova-plugin-firebase in iOS platform
at install (/Users/alexcarrascosalvador/Documents/Projects/RACE/race-sos/platforms/ios/cordova/lib/plugman/pluginHandlers.js:64:23)
at ActionStack.process (/Users/alexcarrascosalvador/Documents/Projects/RACE/race-sos/platforms/ios/cordova/node_modules/cordova-common/src/ActionStack.js:56:25)
at PluginManager.doOperation (/Users/alexcarrascosalvador/Documents/Projects/RACE/race-sos/platforms/ios/cordova/node_modules/cordova-common/src/PluginManager.js:114:20)
at PluginManager.addPlugin (/Users/alexcarrascosalvador/Documents/Projects/RACE/race-sos/platforms/ios/cordova/node_modules/cordova-common/src/PluginManager.js:144:17)
at Api.addPlugin (/Users/alexcarrascosalvador/Documents/Projects/RACE/race-sos/platforms/ios/cordova/Api.js:234:10)
at handleInstall (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:594:10)
at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:357:28
at _fulfilled (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:854:54)
at /usr/local/lib/node_modules/cordova/node_modules/q/q.js:883:30
at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:816:13)
Failed to restore plugin "cordova-plugin-firebase" from config.xml. You might need to try adding it again. Error: Uh oh!
File already exists at destination "/Users/alexcarrascosalvador/Documents/Projects/RACE/race-sos/platforms/ios/RACE SOS/Resources/GoogleService-Info.plist" for resource file specified by plugin cordova-plugin-firebase in iOS platform
I found it impossible to fix this error. I put my plugins in order to install Firebase first, but I still get this error when I try to install the plugin in the iOS platform. I also removed the platform and added it again and I still get the error. I deleted the whole project and downloaded again, installed the dependencies and build it, but I still get the cordova-plugin-firebase error...
I had a chance to fix this issue and please follow the below steps.
Rename the file GoogleService-Info.plist in our root folder to GoogleService-Info.plistxx
Remove the file inside your platform/ios/AppName/Resources/GoogleService-Info.plist
Run the command ionic cordova plugin add cordova-plugin-firebase
Rename the file GoogleService-Info.plistxx in our root folder to GoogleService-Info.plist

"Meteor run android-device" throwing a Cordova error since upgrade to Meteor 1.6

...
While removing plugins
cc.fovea.cordova.purchase,cordova-plugin-camera,cordova-plugin-compat,cordova-plugin-device,cordova-plugin-googleplus,cordova-plugin-inappbrowser,cordova-plugin-meteor-webapp,cordova-plugin-splashscreen,cordova-plugin-statusbar,cordova-plugin-tts,cordova-plugin-whitelist,cordova-plugin-wkwebview-engine,cordova-plugin-actionsheet
from Cordova project:
Cordova error: Plugin "cordova-plugin-actionsheet" is not present in the project. See `cordova plugin list`.
...
So I tried reinstalling https://github.com/EddyVerbruggen/cordova-plugin-actionsheet
To no avail.. I'm totally lost. Have found references to similar issues but nothing helpful.

Phonegap - Failed to restore plugin "io.litehelpers.cordova.sqlite"

I've inherited a Phonegap project that just contained the www folder. The config.xml contains this entry:
<plugin name="io.litehelpers.cordova.sqlite" source="pgb" />
When I run cordova platform add android or cordova build, I get this warning message:
Discovered plugin "io.litehelpers.cordova.sqlite" in config.xml. Adding it to the project. Failed to restore plugin "io.litehelpers.cordova.sqlite" from config.xml. You might need to try adding it again. Error: Error: Registry returned 404 for GET on https://registry.npmjs.org/io.litehelpers.cordova.sqlite
I added the Sqlite plugin from https://github.com/litehelpers/Cordova-sqlite-storage using the command cordova plugin add cordova-sqlite-storage --save, then cordova prepare, and then proceeded to run the above, but still get the same warning message.
Is this something I can ignore, or is there something I can do to resolve it? Thank you!
EDIT: I am using Cordova CLI 6.3.1
IIRC, that's the old PhoneGap Build version of the cordova-sqlite-storage plugin. PhoneGap Build has since moved to npmjs for hosting plugins, and will be shutting down the old repository. You've probably already got the line:
<plugin name="cordova-sqlite-storage" source="npm" />
In your config.xml file. If so, just remove the line:
<plugin name="io.litehelpers.cordova.sqlite" source="pgb" />
And that should clear the error.

Unable to download Git plugin from Visual Studio 2015

I am trying to download GIT plugin via URL : https://github.com/OSAMES/ionic-Select-Control.git
in Visual Studio 2015 (update 2 ) I opened config.xml (in designer), then in Plugins section, I clicked on Custom and selected Git option. Entered above URL and clicked Arrow button.
However, it is giving error as "Plugin download failed from URL: https://github.com/OSAMES/ionic-Select-Control.git"
The URL works in browser.
Any idea? There can't be proxy issue with VS 2015 update 2 as I was able to download another plugin yesterday.
Thank you
I just tested at the moment and I have not encountered any problem with bower install ionic-select-control --save
Have you made a npm init before launch bower ?
In fact this plugins is for Ionic not for Cordova and need also angularjs.
I do not think it is possible to adapt to Cordova.
The only solution would be to develop a specific plugin for Cordova.
Edit: I test on new Cordova project in vs2015U2. My solution if you not use command line is to edit bower.json, add ionic-select-control dependencies
and after in solution explorer, right click on dependencies and click restore packages in menu.
VisualStudio 2015 request npm.org to fill intelisence for auto completing and find packages names
You can install it by ID, like ionic-select-control.
But it is not a Cordova plugin, so just install it with bower. This window is for installing Cordova plugins only.
I was able to resolve this by adding .bowerrcc file to my solution. The file was added and edited to have proxy configuration. For example:
{
"directory": "www/lib",
"registry": "http://bower.herokuapp.com",
"proxy" : "http://xx.xx.xx.xx:8080",
"https-proxy" : "http://xx.xx.xx.xx:8080",
"strict-ssl" : false
}

WP 4.x + Jetpack Installation Error: HTTP_RAW_POST_DATA

When installing jetpack from the auto install screen, I wasn't able to get it working to an internal 500 error related to this PHP setting.
HTTP_RAW_POST_DATA
After a while trying different configurations with no luck, I decided to extract the zip and install manually and it installed correctly with no problems so far.

Resources