cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xizi Liu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-12862) Unable to install local plugins after setting config "searchpath" to be the directory of the local plugins
Date Fri, 26 May 2017 16:39:04 GMT

     [ https://issues.apache.org/jira/browse/CB-12862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Xizi Liu updated CB-12862:
--------------------------
    Description: 
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: New Feature
>          Components: cordova-cli
>    Affects Versions: cordova@7.0.0
>            Reporter: Xizi Liu
>
> 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>".



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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


Mime
View raw message