You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "RAMON SANTIAGO (Jira)" <ji...@apache.org> on 2019/08/23 19:48:00 UTC

[jira] [Commented] (CB-13801) Fail to restore plugins with relative path

    [ https://issues.apache.org/jira/browse/CB-13801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16914571#comment-16914571 ] 

RAMON SANTIAGO commented on CB-13801:
-------------------------------------

Robert, could you possibly send me a copy of the package.json that you used to get this workaround to work please?

I've got the same problem. I need to install a local plugin.

> Fail to restore plugins with relative path
> ------------------------------------------
>
>                 Key: CB-13801
>                 URL: https://issues.apache.org/jira/browse/CB-13801
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-lib
>            Reporter: Michael Goffioul
>            Priority: Major
>
> 1. Create a cordova project
> 2. Add android platform
> 3. Add a local plugin using a relative path: {{cordova plugin add myplugins/testplugin}}
> 4. Delete directories platforms/ and plugins/
> 5. Prepare android: {{cordova prepare android}}
> Cordova will fail to restore the local plugin. The plugin has been added to {{package.json}} using the spec {{file:myplugins/testplugin}} and the restoration utility is unable to handle such URL. Note that {{config.xml}} contains the spec {{myplugins/testplugin}} (that is, without the file: scheme), but the one in {{package.json}} takes precedence.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org