You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Srutha Keerthi (JIRA)" <ji...@apache.org> on 2017/05/24 13:43:04 UTC
[jira] [Comment Edited] (CB-12850) Adding plugin
wkwebview-engine-localhost fails: --fetch does not support subdirectories
[ https://issues.apache.org/jira/browse/CB-12850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16022909#comment-16022909 ]
Srutha Keerthi edited comment on CB-12850 at 5/24/17 1:42 PM:
--------------------------------------------------------------
From cordova version 7, all the plugins will be added with the --fetch option as a default and fetch does not support if there are sub directories. To avoid this error, the behaviour before cordova 7 can be used by adding the option "--nofetch" while adding the plugin.
More details about this can be found here : https://cordova.apache.org/news/2017/05/04/cordova-7.html
It is clearly stated in the above release notes : "Fetch is now the default method for fetching platforms. Fetch uses your system npm to npm install modules into your project. The --fetch flag is no longer required. Use the --nofetch flag to revert to pre-Cordova@7.0 behavior (npm install is not used to fetch modules)."
was (Author: sruthakeerthik):
From cordova version 7, all the plugins will be added with the --fetch option as a default and fetch does not support if there are sub directories. To avoid this error, the behaviour before cordova 7 can be used by adding the option "--nofetch" while adding the plugin.
More details about this can be found here : https://cordova.apache.org/news/2017/05/04/cordova-7.html
It is clearly stated in the above release notes <i>"Fetch is now the default method for fetching platforms. Fetch uses your system npm to npm install modules into your project. The --fetch flag is no longer required. Use the --nofetch flag to revert to pre-Cordova@7.0 behavior (npm install is not used to fetch modules)."</i>
> Adding plugin wkwebview-engine-localhost fails: --fetch does not support subdirectories
> ---------------------------------------------------------------------------------------
>
> Key: CB-12850
> URL: https://issues.apache.org/jira/browse/CB-12850
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-plugin-wkwebview-engine
> Affects Versions: cordova@7.0.0
> Reporter: Andrin Moloko
> Assignee: Shazron Abdullah
>
> cordova plugin add https://github.com/apache/cordova-plugins.git#master:wkwebview-engine-localhost
> support for subdirectories is deprecated and will be removed in Cordova@7
> Error: --fetch does not support subdirectories
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org