cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derk-Jan Hartman (JIRA)" <>
Subject [jira] [Created] (CB-8824) Cordova cannot use Artifactory proxy registry, but plugman can
Date Wed, 08 Apr 2015 15:26:13 GMT
Derk-Jan Hartman created CB-8824:

             Summary: Cordova cannot use Artifactory proxy registry, but plugman can
                 Key: CB-8824
             Project: Apache Cordova
          Issue Type: Bug
          Components: CordovaLib
    Affects Versions: 4.0.0
            Reporter: Derk-Jan Hartman

I used the NPM feature of JFrog's Artifactory to setup a proxy registry for the Cordova plugin

It is mirroring:

I’ve then set my local machine to use the artifactory proxy:
plugman config set registry

This proxy works if I directly used plugman like so:
plugman install —platform ios —project platforms/ios/ —plugin org.apache.cordova.device
—plugins_dir ./plugins/

But it fails if I use Cordova directly:
 cordova plugin add org.apache.cordova.device

Fetching plugin “org.apache.cordova.device” via plugin registry
npm http GET
npm http 404
TypeError: Cannot read property ‘latest’ of undefined
at next (/opt/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/lib/cache.js:687:35)
at /opt/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/lib/cache.js:675:5
at saved (/opt/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js:142:7)
at /opt/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/graceful-fs/polyfills.js:133:7
at FSReqWrap.oncomplete (fs.js:99:15)

I have a suspicion that this is because the Cordova binary is using an outdated version of
NPM, but i'm not sure.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message