You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jorge Domínguez (JIRA)" <ji...@apache.org> on 2016/12/01 17:30:58 UTC
[jira] [Updated] (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:all-tabpanel ]
Jorge Domínguez updated CB-12200:
---------------------------------
Description:
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.
was:
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.
> 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