You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Kerri Shotts (JIRA)" <ji...@apache.org> on 2016/12/06 19:25:58 UTC

[jira] [Commented] (CB-12200) Cordova-lib doesn't install local plugins with searchpath

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

Kerri Shotts commented on CB-12200:
-----------------------------------

Can you share the code where you were getting the issue so we can try to replicate? I've not had problems with cordova-lib using local plugins in the past, but that was several versions back, so it would be faster to replicate with your code than to try something with mine.

> Cordova-lib doesn't install local plugins with searchpath
> ---------------------------------------------------------
>
>                 Key: CB-12200
>                 URL: https://issues.apache.org/jira/browse/CB-12200
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugins
>         Environment: Tested in MacOS and Linux with cordova-lib@6.4.0
>            Reporter: Jorge Domínguez
>              Labels: install, local, plugins
>
> Using cordova-lib as a node module there is no way to install local plugins. It returns a 404 error from https://registry.npmjs.org/.
> I've tried using the option "plugin_search_path" at the creation of the project and with "searchpath" when installing the plugin.
> From the cli looks like there is some issue as well. Using the argument "searchpath" and plugin-name@* doesn't work but plugin-name@x works.
> Update: I got it working, but it was necessary to use "searchpath" when installing the platforms AND the plugins. I don't see a reason to use "searchpath" with the installation of the platforms so I guess the ticket should be open.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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