[
https://issues.apache.org/jira/browse/CB-12850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16022909#comment-16022909
]
Srutha Keerthi commented on CB-12850:
-------------------------------------
>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 [email protected] 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: [email protected]
> 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: [email protected]
For additional commands, e-mail: [email protected]