[
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 [email protected]
> 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: [email protected]
For additional commands, e-mail: [email protected]