You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Andrew Grieve (JIRA)" <ji...@apache.org> on 2013/09/20 04:38:52 UTC

[jira] [Commented] (CB-4883) Recover gracefully from failed lazy load download

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

Andrew Grieve commented on CB-4883:
-----------------------------------

Hi Jeff, I think this problem has been coming & going for us for a while and we haven't fix it properly yet.

For now, try deleting your ~/.cordova directory and trying again.
                
> Recover gracefully from failed lazy load download
> -------------------------------------------------
>
>                 Key: CB-4883
>                 URL: https://issues.apache.org/jira/browse/CB-4883
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 3.0.0
>         Environment: Mac OS X 10.8.5
>            Reporter: Jeff Thurston
>            Priority: Critical
>
> 514 JThurston:MyApp $ cordova -d platform add ios
> Requesting {"uri":"https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;a=snapshot;h=3.0.0;sf=tgz"}...
> Error: incorrect header check
>     at Zlib._binding.onerror (zlib.js:295:17)
> 515 JThurston:MyApp $ cordova -d platform add ios
> cordova library for "ios" already exists. No need to download. Continuing.
> Checking if platform "ios" passes minimum requirements...
> Checking iOS requirements...
> Running "xcodebuild -version" (output to follow)
> Xcode 5.0
> Build version 5A1413
> Running bin/create for platform "ios" with command: ""/Users/JThurston/.cordova/lib/ios/cordova/3.0.0/bin/create" --arc "/Users/JThurston/workspace/MyApp/platforms/ios" "io.cordova.hellocordova" "HelloCordova"" (output to follow)
> /bin/sh: /Users/JThurston/.cordova/lib/ios/cordova/3.0.0/bin/create: No such file or directory
> Error: An error occured during creation of ios sub-project. /bin/sh: /Users/JThurston/.cordova/lib/ios/cordova/3.0.0/bin/create: No such file or directory
>     at /usr/local/lib/node_modules/cordova/src/platform.js:249:35
>     at /usr/local/lib/node_modules/cordova/node_modules/shelljs/shell.js:1707:7
>     at ChildProcess.exithandler (child_process.js:641:7)
>     at ChildProcess.EventEmitter.emit (events.js:98:17)
>     at maybeClose (child_process.js:735:16)
>     at Socket.<anonymous> (child_process.js:948:11)
>     at Socket.EventEmitter.emit (events.js:95:17)
>     at Pipe.close (net.js:466:12)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira