[ 
https://issues.apache.org/jira/browse/CB-7670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14153169#comment-14153169
 ] 

ASF GitHub Bot commented on CB-7670:
------------------------------------

GitHub user vladimir-kotikov opened a pull request:

    https://github.com/apache/cordova-lib/pull/96

    CB-7670 Fixes failure when trying to fetch dependent plugin while adding 
platform

    Fix for https://issues.apache.org/jira/browse/CB-7670


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/MSOpenTech/cordova-lib CB-7670

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-lib/pull/96.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #96
    
----
commit 6f0c70dd7c69af18b5ced56958b635c7287d0900
Author: Vladimir Kotikov <[email protected]>
Date:   2014-09-30T11:33:27Z

    CB-7670 Fixes failure when trying to fetch dependent plugin while adding 
platform

----


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

Reply via email to