You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Steve Gill (JIRA)" <ji...@apache.org> on 2015/01/14 10:03:35 UTC

[jira] [Resolved] (CB-7670) cordova fails to fetch dependent plugin while adding platform

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

Steve Gill resolved CB-7670.
----------------------------
    Resolution: Fixed

> cordova fails to fetch dependent plugin while adding platform
> -------------------------------------------------------------
>
>                 Key: CB-7670
>                 URL: https://issues.apache.org/jira/browse/CB-7670
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaLib, Plugman
>            Reporter: Vladimir Kotikov
>
> *Repro steps*
> cordova create app1
> cd app1
> cordova plugin add org.apache.cordova.file-transfer
> cordova platform add windows
> *Expected*
> Platform and all dependent plugins installed successfully
> *Actual*
> I get an error:
> {noformat}
> Creating windows project...
> Creating Cordova Windows Project:
>         App Name  : HelloCordova
>         Namespace : io.cordova.hellocordova
>         Path      : d:\PROJECTS\Temp\test-file\platforms\windows
> Copying template to d:\PROJECTS\Temp\test-file\platforms\windows
> Installing "org.apache.cordova.file-transfer" for windows
> Fetching plugin "org.apache.cordova.file" via plugin registry
> npm http GET https://registry.npmjs.org/org.apache.cordova.file
> npm http 404 https://registry.npmjs.org/org.apache.cordova.file
> Failed to install 'org.apache.cordova.file-transfer':Error: 404 Not Found: org.apache.cordova.file
>     at RegClient.<anonymous> (d:\cordova\cordova-lib\cordova-lib\node_modules\npm\node_modules\npm-registry-client\lib\request.js:268:14)
>     at Request.self.callback (d:\cordova\cordova-lib\cordova-lib\node_modules\npm\node_modules\request\index.js:148:22)
>     at Request.EventEmitter.emit (events.js:98:17)
>     at Request.<anonymous> (d:\cordova\cordova-lib\cordova-lib\node_modules\npm\node_modules\request\index.js:876:14)
>     at Request.EventEmitter.emit (events.js:117:20)
>     at IncomingMessage.<anonymous> (d:\cordova\cordova-lib\cordova-lib\node_modules\npm\node_modules\request\index.js:827:12)
>     at IncomingMessage.EventEmitter.emit (events.js:117:20)
>     at _stream_readable.js:919:16
>     at process._tickCallback (node.js:419:13)
> {noformat}
> The problem seems to be in fetching {{file}} as a dependent plugin.  It works fine if file plugin is installed first.



--
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