[
https://issues.apache.org/jira/browse/CB-12862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xizi Liu updated CB-12862:
--------------------------
Description:
Added code to set "searchpath" as a global config option. Thus, local plugins
can be added to cordova projects without specifying --searchpath.
was:
I used "cordova config set searchpath <local-directory-of-plugins>" to set
searchpath. And I expected that when adding local plugins to cordova projects
there's no need to specify --searchpath. But when I used "cordova plugin add
<plugin-id>" to add local pluigns, I got:
Error: Registry returned 404 for GET on https://registry.npmjs.org/<plugin-id>.
However, it works fine when using "cordova pluign add <plugin-id> --searchpath
<local-directory-of-plugins>".
> Unable to install local plugins after setting config "searchpath" to be the
> directory of the local plugins
> ----------------------------------------------------------------------------------------------------------
>
> Key: CB-12862
> URL: https://issues.apache.org/jira/browse/CB-12862
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-cli
> Affects Versions: [email protected]
> Reporter: Xizi Liu
>
> Added code to set "searchpath" as a global config option. Thus, local plugins
> can be added to cordova projects without specifying --searchpath.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]