[
https://issues.apache.org/jira/browse/CB-11252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15315128#comment-15315128
]
Steve Gill commented on CB-11252:
---------------------------------
[~dpogue] this has been fixed on master. Your example still fails though
because the version you have published on npm (version 1.0.1 of
@dpogue/cordova-plugin-wkwebview-engine) has a incorrect version in plugin.xml.
The plugin.xml version seem to be 1.0.2-dev. This is the version that gets
saved in config.xml. Obviously 1.0.2-dev doesn't exist on npm.
> Cordova-fetch fails to restore scoped plugins on prepare
> --------------------------------------------------------
>
> Key: CB-11252
> URL: https://issues.apache.org/jira/browse/CB-11252
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-fetch
> Reporter: Darryl Pogue
> Assignee: Caryn Tran
> Labels: cordova-fetch
>
> With {code}<plugin name="@dpogue/cordova-plugin-wkwebview-engine"
> spec="~1.0.1" />{code} in my config.xml, I get the following when running
> {{cordova prepare --fetch --verbose}}:
> {code}
> Executing "after_prepare" hook for all plugins.
> Discovered plugin "@dpogue/cordova-plugin-wkwebview-engine" in config.xml.
> Installing to the project
> Executing "before_plugin_add" hook for all plugins.
> Calling plugman.fetch on plugin
> "@dpogue/cordova-plugin-wkwebview-engine@~1.0.1"
> Failed to restore plugin @dpogue/cordova-plugin-wkwebview-engine from
> config.xml. You might want to reinstall it again. Error: Cannot find
> plugin.xml for plugin 'node_modules'. Please try adding it again.
> Discovered plugin "@dpogue/cordova-plugin-crosswalk-webview" in config.xml.
> Installing to the project
> Executing "before_plugin_add" hook for all plugins.
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]