-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when running cordova prepare #8
Comments
The error you quoted mentions an issue with the plugin spec in your config.xml, but you didn't include that line from your config.xml. Here's what we're using: Does that work for you? As your error message says, it could also be a transient issue with the network connection. |
Thanks for the quick response, but unfortunately no it results in the same error. My project uses 18 cordova plugins all of which restore without error except for this one, so the problem must be with the plugin definition. Note that to run the plugin I ran the command on your readme, which did not add the version 1.1.0 to the spec url:
It does add successfully but when you run Try deleting the contents of your Platforms and Plugins folders and then running |
Hi @nero120 Try: Search "com.borismus.webintent" replace code to make it look like this Try prepare again |
Hi @DanielRiera, apologies for the late response. I made the changes as you suggested, cleared down the platforms and plugins folders, then ran
Any other ideas? |
Running
cordova prepare
on a fresh clone of a cordova project that uses your plugin results in the following error:Failed to restore plugin "com.borismus.webintent" from config.xml. You might need to try adding it again. Error: Failed to fetch plugin com.borismus.webintent@https://github.com/cordova-misc/cordova-webintent.git via registry. Probably this is either a connection problem, or plugin spec is incorrect. Check your connection and plugin name/version/URL. Failed to get absolute path to installed module
Any chance you could fix the plugin definition so we don't have to go hunting through the one hundred and eighty three forks or add yet another one to get this to work? Thanks!
The text was updated successfully, but these errors were encountered: