[jira] [Commented] (CB-9297) Cordova CLI fails silently with iojs
[ https://issues.apache.org/jira/browse/CB-9297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983636#comment-14983636 ] ASF subversion and git services commented on CB-9297: - Commit d6792bfc71b7028e8fd229069af96ed4083f5774 in cordova-lib's branch refs/heads/master from [~vladimir.kotikov] [ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=d6792bf ] CB-9297 Parse xcode project syncronously to avoid issues with node v4 > Cordova CLI fails silently with iojs > > > Key: CB-9297 > URL: https://issues.apache.org/jira/browse/CB-9297 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 5.1.2 > Environment: Cordova CLI: 5.1.1 (this isn't in your version list > above) > ios-deploy version: 1.7.0 > ios-sim version: 4.1.1 > OS: Mac OS X Yosemite > Xcode version: Xcode 6.4 Build version 6E35b > node (iojs): 1.8.1 >Reporter: Robert Churchill >Assignee: Vladimir Kotikov >Priority: Critical > Labels: cordova-ios-4.0.x > > Running most build tasks (emulate, run, build) for ios when node is replaced > by iojs results in the build failing silently. Example: > $ cordova build ios > $ > $ cordova build ios --verbose > Generating config.xml from defaults for platform "ios" > Calling plugman.prepare for platform "ios" > Preparing ios project > ... > [seems to finish prepare (but without executing hooks) then exits] > ... > $ > Not sure if you plan to support iojs, but at least this report might help > someone googling. Unfamiliar with the Apache JIRA system so apologies if this > report is in the wrong place etc. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9297) Cordova CLI fails silently with iojs
[ https://issues.apache.org/jira/browse/CB-9297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14934699#comment-14934699 ] Vladimir Kotikov commented on CB-9297: -- No, it doesn't. Closing as fixed. > Cordova CLI fails silently with iojs > > > Key: CB-9297 > URL: https://issues.apache.org/jira/browse/CB-9297 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 5.1.2 > Environment: Cordova CLI: 5.1.1 (this isn't in your version list > above) > ios-deploy version: 1.7.0 > ios-sim version: 4.1.1 > OS: Mac OS X Yosemite > Xcode version: Xcode 6.4 Build version 6E35b > node (iojs): 1.8.1 >Reporter: Robert Churchill >Assignee: Vladimir Kotikov >Priority: Critical > Labels: cordova-ios-4.0.x > > Running most build tasks (emulate, run, build) for ios when node is replaced > by iojs results in the build failing silently. Example: > $ cordova build ios > $ > $ cordova build ios --verbose > Generating config.xml from defaults for platform "ios" > Calling plugman.prepare for platform "ios" > Preparing ios project > ... > [seems to finish prepare (but without executing hooks) then exits] > ... > $ > Not sure if you plan to support iojs, but at least this report might help > someone googling. Unfamiliar with the Apache JIRA system so apologies if this > report is in the wrong place etc. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9297) Cordova CLI fails silently with iojs
[ https://issues.apache.org/jira/browse/CB-9297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14933967#comment-14933967 ] Shazron Abdullah commented on CB-9297: -- Can this issue be resolved? Or does this need a new node-xcode released? > Cordova CLI fails silently with iojs > > > Key: CB-9297 > URL: https://issues.apache.org/jira/browse/CB-9297 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 5.1.2 > Environment: Cordova CLI: 5.1.1 (this isn't in your version list > above) > ios-deploy version: 1.7.0 > ios-sim version: 4.1.1 > OS: Mac OS X Yosemite > Xcode version: Xcode 6.4 Build version 6E35b > node (iojs): 1.8.1 >Reporter: Robert Churchill >Assignee: Vladimir Kotikov >Priority: Critical > Labels: cordova-ios-4.0.x > > Running most build tasks (emulate, run, build) for ios when node is replaced > by iojs results in the build failing silently. Example: > $ cordova build ios > $ > $ cordova build ios --verbose > Generating config.xml from defaults for platform "ios" > Calling plugman.prepare for platform "ios" > Preparing ios project > ... > [seems to finish prepare (but without executing hooks) then exits] > ... > $ > Not sure if you plan to support iojs, but at least this report might help > someone googling. Unfamiliar with the Apache JIRA system so apologies if this > report is in the wrong place etc. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9297) Cordova CLI fails silently with iojs
[ https://issues.apache.org/jira/browse/CB-9297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14802851#comment-14802851 ] ASF subversion and git services commented on CB-9297: - Commit d6792bfc71b7028e8fd229069af96ed4083f5774 in cordova-lib's branch refs/heads/5.3.x from [~vladimir.kotikov] [ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=d6792bf ] CB-9297 Parse xcode project syncronously to avoid issues with node v4 > Cordova CLI fails silently with iojs > > > Key: CB-9297 > URL: https://issues.apache.org/jira/browse/CB-9297 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 5.1.2 > Environment: Cordova CLI: 5.1.1 (this isn't in your version list > above) > ios-deploy version: 1.7.0 > ios-sim version: 4.1.1 > OS: Mac OS X Yosemite > Xcode version: Xcode 6.4 Build version 6E35b > node (iojs): 1.8.1 >Reporter: Robert Churchill >Assignee: Vladimir Kotikov >Priority: Critical > Labels: cordova-ios-4.0.x > > Running most build tasks (emulate, run, build) for ios when node is replaced > by iojs results in the build failing silently. Example: > $ cordova build ios > $ > $ cordova build ios --verbose > Generating config.xml from defaults for platform "ios" > Calling plugman.prepare for platform "ios" > Preparing ios project > ... > [seems to finish prepare (but without executing hooks) then exits] > ... > $ > Not sure if you plan to support iojs, but at least this report might help > someone googling. Unfamiliar with the Apache JIRA system so apologies if this > report is in the wrong place etc. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9297) Cordova CLI fails silently with iojs
[ https://issues.apache.org/jira/browse/CB-9297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14803324#comment-14803324 ] ASF GitHub Bot commented on CB-9297: Github user csantanapr commented on the pull request: https://github.com/apache/cordova-lib/pull/305#issuecomment-141170683 :+1: @vladimir-kotikov > Cordova CLI fails silently with iojs > > > Key: CB-9297 > URL: https://issues.apache.org/jira/browse/CB-9297 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 5.1.2 > Environment: Cordova CLI: 5.1.1 (this isn't in your version list > above) > ios-deploy version: 1.7.0 > ios-sim version: 4.1.1 > OS: Mac OS X Yosemite > Xcode version: Xcode 6.4 Build version 6E35b > node (iojs): 1.8.1 >Reporter: Robert Churchill >Assignee: Vladimir Kotikov >Priority: Critical > Labels: cordova-ios-4.0.x > > Running most build tasks (emulate, run, build) for ios when node is replaced > by iojs results in the build failing silently. Example: > $ cordova build ios > $ > $ cordova build ios --verbose > Generating config.xml from defaults for platform "ios" > Calling plugman.prepare for platform "ios" > Preparing ios project > ... > [seems to finish prepare (but without executing hooks) then exits] > ... > $ > Not sure if you plan to support iojs, but at least this report might help > someone googling. Unfamiliar with the Apache JIRA system so apologies if this > report is in the wrong place etc. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9297) Cordova CLI fails silently with iojs
[ https://issues.apache.org/jira/browse/CB-9297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14768894#comment-14768894 ] ASF GitHub Bot commented on CB-9297: Github user vladimir-kotikov commented on the pull request: https://github.com/apache/cordova-lib/pull/305#issuecomment-140734415 Sent a PR to node-xcode with suggested fix: https://github.com/alunny/node-xcode/pull/66 > Cordova CLI fails silently with iojs > > > Key: CB-9297 > URL: https://issues.apache.org/jira/browse/CB-9297 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 5.1.2 > Environment: Cordova CLI: 5.1.1 (this isn't in your version list > above) > ios-deploy version: 1.7.0 > ios-sim version: 4.1.1 > OS: Mac OS X Yosemite > Xcode version: Xcode 6.4 Build version 6E35b > node (iojs): 1.8.1 >Reporter: Robert Churchill >Assignee: Vladimir Kotikov >Priority: Critical > Labels: cordova-ios-4.0.x > > Running most build tasks (emulate, run, build) for ios when node is replaced > by iojs results in the build failing silently. Example: > $ cordova build ios > $ > $ cordova build ios --verbose > Generating config.xml from defaults for platform "ios" > Calling plugman.prepare for platform "ios" > Preparing ios project > ... > [seems to finish prepare (but without executing hooks) then exits] > ... > $ > Not sure if you plan to support iojs, but at least this report might help > someone googling. Unfamiliar with the Apache JIRA system so apologies if this > report is in the wrong place etc. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9297) Cordova CLI fails silently with iojs
[ https://issues.apache.org/jira/browse/CB-9297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14743469#comment-14743469 ] ASF GitHub Bot commented on CB-9297: Github user csantanapr commented on the pull request: https://github.com/apache/cordova-lib/pull/305#issuecomment-140060717 We need to merge and release fast cli and lib with this bug, nodejs@4 is out and this is a major bug > Cordova CLI fails silently with iojs > > > Key: CB-9297 > URL: https://issues.apache.org/jira/browse/CB-9297 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 5.1.2 > Environment: Cordova CLI: 5.1.1 (this isn't in your version list > above) > ios-deploy version: 1.7.0 > ios-sim version: 4.1.1 > OS: Mac OS X Yosemite > Xcode version: Xcode 6.4 Build version 6E35b > node (iojs): 1.8.1 >Reporter: Robert Churchill >Assignee: Vladimir Kotikov >Priority: Critical > Labels: cordova-ios-4.0.x > > Running most build tasks (emulate, run, build) for ios when node is replaced > by iojs results in the build failing silently. Example: > $ cordova build ios > $ > $ cordova build ios --verbose > Generating config.xml from defaults for platform "ios" > Calling plugman.prepare for platform "ios" > Preparing ios project > ... > [seems to finish prepare (but without executing hooks) then exits] > ... > $ > Not sure if you plan to support iojs, but at least this report might help > someone googling. Unfamiliar with the Apache JIRA system so apologies if this > report is in the wrong place etc. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9297) Cordova CLI fails silently with iojs
[ https://issues.apache.org/jira/browse/CB-9297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14743348#comment-14743348 ] ASF GitHub Bot commented on CB-9297: Github user vladimir-kotikov commented on the pull request: https://github.com/apache/cordova-lib/pull/305#issuecomment-140033673 Ok, so this PR could be merged then? Regarding fix for node-xcode, could you please take a look at https://github.com/vladimir-kotikov/node-xcode/commit/beb12df445646a8dd0d466131dd43552339c4206. This should be enough to resolve the issue and have one code working in both node v0.12 and v4. > Cordova CLI fails silently with iojs > > > Key: CB-9297 > URL: https://issues.apache.org/jira/browse/CB-9297 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 5.1.2 > Environment: Cordova CLI: 5.1.1 (this isn't in your version list > above) > ios-deploy version: 1.7.0 > ios-sim version: 4.1.1 > OS: Mac OS X Yosemite > Xcode version: Xcode 6.4 Build version 6E35b > node (iojs): 1.8.1 >Reporter: Robert Churchill >Assignee: Vladimir Kotikov >Priority: Critical > Labels: cordova-ios-4.0.x > > Running most build tasks (emulate, run, build) for ios when node is replaced > by iojs results in the build failing silently. Example: > $ cordova build ios > $ > $ cordova build ios --verbose > Generating config.xml from defaults for platform "ios" > Calling plugman.prepare for platform "ios" > Preparing ios project > ... > [seems to finish prepare (but without executing hooks) then exits] > ... > $ > Not sure if you plan to support iojs, but at least this report might help > someone googling. Unfamiliar with the Apache JIRA system so apologies if this > report is in the wrong place etc. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9297) Cordova CLI fails silently with iojs
[ https://issues.apache.org/jira/browse/CB-9297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14743468#comment-14743468 ] ASF GitHub Bot commented on CB-9297: Github user csantanapr commented on the pull request: https://github.com/apache/cordova-lib/pull/305#issuecomment-140060516 @vladimir-kotikov yes, This PR is good to merge to cordova-lib, that's what I meant with "I agree with the change then..." :-) :+1: > Cordova CLI fails silently with iojs > > > Key: CB-9297 > URL: https://issues.apache.org/jira/browse/CB-9297 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 5.1.2 > Environment: Cordova CLI: 5.1.1 (this isn't in your version list > above) > ios-deploy version: 1.7.0 > ios-sim version: 4.1.1 > OS: Mac OS X Yosemite > Xcode version: Xcode 6.4 Build version 6E35b > node (iojs): 1.8.1 >Reporter: Robert Churchill >Assignee: Vladimir Kotikov >Priority: Critical > Labels: cordova-ios-4.0.x > > Running most build tasks (emulate, run, build) for ios when node is replaced > by iojs results in the build failing silently. Example: > $ cordova build ios > $ > $ cordova build ios --verbose > Generating config.xml from defaults for platform "ios" > Calling plugman.prepare for platform "ios" > Preparing ios project > ... > [seems to finish prepare (but without executing hooks) then exits] > ... > $ > Not sure if you plan to support iojs, but at least this report might help > someone googling. Unfamiliar with the Apache JIRA system so apologies if this > report is in the wrong place etc. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9297) Cordova CLI fails silently with iojs
[ https://issues.apache.org/jira/browse/CB-9297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14743472#comment-14743472 ] ASF GitHub Bot commented on CB-9297: Github user csantanapr commented on the pull request: https://github.com/apache/cordova-lib/pull/305#issuecomment-140061087 @vladimir-kotikov yes change to node-code looks good send the PR to see what they want to do, we don't have to wait for a new node-xcode since we switched cordova-lib to use sync method which is preferred in this situation > Cordova CLI fails silently with iojs > > > Key: CB-9297 > URL: https://issues.apache.org/jira/browse/CB-9297 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 5.1.2 > Environment: Cordova CLI: 5.1.1 (this isn't in your version list > above) > ios-deploy version: 1.7.0 > ios-sim version: 4.1.1 > OS: Mac OS X Yosemite > Xcode version: Xcode 6.4 Build version 6E35b > node (iojs): 1.8.1 >Reporter: Robert Churchill >Assignee: Vladimir Kotikov >Priority: Critical > Labels: cordova-ios-4.0.x > > Running most build tasks (emulate, run, build) for ios when node is replaced > by iojs results in the build failing silently. Example: > $ cordova build ios > $ > $ cordova build ios --verbose > Generating config.xml from defaults for platform "ios" > Calling plugman.prepare for platform "ios" > Preparing ios project > ... > [seems to finish prepare (but without executing hooks) then exits] > ... > $ > Not sure if you plan to support iojs, but at least this report might help > someone googling. Unfamiliar with the Apache JIRA system so apologies if this > report is in the wrong place etc. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9297) Cordova CLI fails silently with iojs
[ https://issues.apache.org/jira/browse/CB-9297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14743618#comment-14743618 ] ASF subversion and git services commented on CB-9297: - Commit 9b476c9881a2075bfe765135cab24502d4bd1057 in cordova-lib's branch refs/heads/master from [~vladimir.kotikov] [ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=9b476c9 ] CB-9297 Parse xcode project syncronously to avoid issues with node v4 This closes #305 > Cordova CLI fails silently with iojs > > > Key: CB-9297 > URL: https://issues.apache.org/jira/browse/CB-9297 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 5.1.2 > Environment: Cordova CLI: 5.1.1 (this isn't in your version list > above) > ios-deploy version: 1.7.0 > ios-sim version: 4.1.1 > OS: Mac OS X Yosemite > Xcode version: Xcode 6.4 Build version 6E35b > node (iojs): 1.8.1 >Reporter: Robert Churchill >Assignee: Vladimir Kotikov >Priority: Critical > Labels: cordova-ios-4.0.x > > Running most build tasks (emulate, run, build) for ios when node is replaced > by iojs results in the build failing silently. Example: > $ cordova build ios > $ > $ cordova build ios --verbose > Generating config.xml from defaults for platform "ios" > Calling plugman.prepare for platform "ios" > Preparing ios project > ... > [seems to finish prepare (but without executing hooks) then exits] > ... > $ > Not sure if you plan to support iojs, but at least this report might help > someone googling. Unfamiliar with the Apache JIRA system so apologies if this > report is in the wrong place etc. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9297) Cordova CLI fails silently with iojs
[ https://issues.apache.org/jira/browse/CB-9297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14743619#comment-14743619 ] ASF GitHub Bot commented on CB-9297: Github user asfgit closed the pull request at: https://github.com/apache/cordova-lib/pull/305 > Cordova CLI fails silently with iojs > > > Key: CB-9297 > URL: https://issues.apache.org/jira/browse/CB-9297 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 5.1.2 > Environment: Cordova CLI: 5.1.1 (this isn't in your version list > above) > ios-deploy version: 1.7.0 > ios-sim version: 4.1.1 > OS: Mac OS X Yosemite > Xcode version: Xcode 6.4 Build version 6E35b > node (iojs): 1.8.1 >Reporter: Robert Churchill >Assignee: Vladimir Kotikov >Priority: Critical > Labels: cordova-ios-4.0.x > > Running most build tasks (emulate, run, build) for ios when node is replaced > by iojs results in the build failing silently. Example: > $ cordova build ios > $ > $ cordova build ios --verbose > Generating config.xml from defaults for platform "ios" > Calling plugman.prepare for platform "ios" > Preparing ios project > ... > [seems to finish prepare (but without executing hooks) then exits] > ... > $ > Not sure if you plan to support iojs, but at least this report might help > someone googling. Unfamiliar with the Apache JIRA system so apologies if this > report is in the wrong place etc. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9297) Cordova CLI fails silently with iojs
[ https://issues.apache.org/jira/browse/CB-9297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14741499#comment-14741499 ] ASF GitHub Bot commented on CB-9297: Github user csantanapr commented on the pull request: https://github.com/apache/cordova-lib/pull/305#issuecomment-139655827 Thanks for explanation @vladimir-kotikov and thanks for your input @pmuellr I agree with the change then after explanation. I still think it should be nice to let the owner of Xcode about a problem of their code with Node4 and open a issue on their repo and suggestion on how to handle. > Cordova CLI fails silently with iojs > > > Key: CB-9297 > URL: https://issues.apache.org/jira/browse/CB-9297 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 5.1.2 > Environment: Cordova CLI: 5.1.1 (this isn't in your version list > above) > ios-deploy version: 1.7.0 > ios-sim version: 4.1.1 > OS: Mac OS X Yosemite > Xcode version: Xcode 6.4 Build version 6E35b > node (iojs): 1.8.1 >Reporter: Robert Churchill >Assignee: Vladimir Kotikov >Priority: Critical > Labels: cordova-ios-4.0.x > > Running most build tasks (emulate, run, build) for ios when node is replaced > by iojs results in the build failing silently. Example: > $ cordova build ios > $ > $ cordova build ios --verbose > Generating config.xml from defaults for platform "ios" > Calling plugman.prepare for platform "ios" > Preparing ios project > ... > [seems to finish prepare (but without executing hooks) then exits] > ... > $ > Not sure if you plan to support iojs, but at least this report might help > someone googling. Unfamiliar with the Apache JIRA system so apologies if this > report is in the wrong place etc. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9297) Cordova CLI fails silently with iojs
[ https://issues.apache.org/jira/browse/CB-9297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14741379#comment-14741379 ] ASF GitHub Bot commented on CB-9297: Github user pmuellr commented on the pull request: https://github.com/apache/cordova-lib/pull/305#issuecomment-139631229 @csantanapr re: not a fan of sync in node.js Sync becomes a problem if you're wasting precious cycles in a single operation, instead of using async to potentially handle multiple operations. For CLI tools, it's often the case that you need to do stuff serially anyway, so async actually becomes a problem, in terms of arranging those serial operations. In this case, I think parsing sync is most likely fine. Especially given the timings provided - thx @vladimir-kotikov Should also note that node v4 has added a callback to send() to fix this. Doesn't help for node < v3, but you could hack a 1 sec timeout to "emulate" it (under most conditions anyway). Smells bad, but prolly would work. > Cordova CLI fails silently with iojs > > > Key: CB-9297 > URL: https://issues.apache.org/jira/browse/CB-9297 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 5.1.2 > Environment: Cordova CLI: 5.1.1 (this isn't in your version list > above) > ios-deploy version: 1.7.0 > ios-sim version: 4.1.1 > OS: Mac OS X Yosemite > Xcode version: Xcode 6.4 Build version 6E35b > node (iojs): 1.8.1 >Reporter: Robert Churchill >Assignee: Vladimir Kotikov >Priority: Critical > Labels: cordova-ios-4.0.x > > Running most build tasks (emulate, run, build) for ios when node is replaced > by iojs results in the build failing silently. Example: > $ cordova build ios > $ > $ cordova build ios --verbose > Generating config.xml from defaults for platform "ios" > Calling plugman.prepare for platform "ios" > Preparing ios project > ... > [seems to finish prepare (but without executing hooks) then exits] > ... > $ > Not sure if you plan to support iojs, but at least this report might help > someone googling. Unfamiliar with the Apache JIRA system so apologies if this > report is in the wrong place etc. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9297) Cordova CLI fails silently with iojs
[ https://issues.apache.org/jira/browse/CB-9297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14740809#comment-14740809 ] ASF GitHub Bot commented on CB-9297: Github user csantanapr commented on the pull request: https://github.com/apache/cordova-lib/pull/305#issuecomment-139548204 Hi @vladimir-kotikov can you give explanation why the fix is to run Sync? In general I'm not fan on Sync in nodejs, but would like to understand what's the root cause of the problem, and the solution > Cordova CLI fails silently with iojs > > > Key: CB-9297 > URL: https://issues.apache.org/jira/browse/CB-9297 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 5.1.2 > Environment: Cordova CLI: 5.1.1 (this isn't in your version list > above) > ios-deploy version: 1.7.0 > ios-sim version: 4.1.1 > OS: Mac OS X Yosemite > Xcode version: Xcode 6.4 Build version 6E35b > node (iojs): 1.8.1 >Reporter: Robert Churchill >Assignee: Vladimir Kotikov >Priority: Critical > Labels: cordova-ios-4.0.x > > Running most build tasks (emulate, run, build) for ios when node is replaced > by iojs results in the build failing silently. Example: > $ cordova build ios > $ > $ cordova build ios --verbose > Generating config.xml from defaults for platform "ios" > Calling plugman.prepare for platform "ios" > Preparing ios project > ... > [seems to finish prepare (but without executing hooks) then exits] > ... > $ > Not sure if you plan to support iojs, but at least this report might help > someone googling. Unfamiliar with the Apache JIRA system so apologies if this > report is in the wrong place etc. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9297) Cordova CLI fails silently with iojs
[ https://issues.apache.org/jira/browse/CB-9297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14740859#comment-14740859 ] ASF GitHub Bot commented on CB-9297: Github user vladimir-kotikov commented on the pull request: https://github.com/apache/cordova-lib/pull/305#issuecomment-139556202 The `xcode`'s `parse` method uses `child_process.fork` API to run parser in a separate worker process, which then reports parsing result to parent process via `child_process.send`. However `send` became async in node v4 so this communication doesn't work properly now. Although, `parseSync` method is even more efficient (at least for small project) since it doesn't creates a a new instance of node process. From official `child_process` docs: > These child Node.js processes are still whole new instances of V8. Assume at least 30ms startup and 10mb memory for each new Node.js. That is, you cannot create many thousands of them. Also compare execution time for tests from https://github.com/MSOpenTech/cordova-lib/commit/81eef5f7d0ee46a88c2a6836fd87c6c1c1ab216d: ~0.9 seconds for this branch (sync parsing) and ~2.7 second if applied to current master (async). The difference IMO is caused by cost of spawning node processes. > Cordova CLI fails silently with iojs > > > Key: CB-9297 > URL: https://issues.apache.org/jira/browse/CB-9297 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 5.1.2 > Environment: Cordova CLI: 5.1.1 (this isn't in your version list > above) > ios-deploy version: 1.7.0 > ios-sim version: 4.1.1 > OS: Mac OS X Yosemite > Xcode version: Xcode 6.4 Build version 6E35b > node (iojs): 1.8.1 >Reporter: Robert Churchill >Assignee: Vladimir Kotikov >Priority: Critical > Labels: cordova-ios-4.0.x > > Running most build tasks (emulate, run, build) for ios when node is replaced > by iojs results in the build failing silently. Example: > $ cordova build ios > $ > $ cordova build ios --verbose > Generating config.xml from defaults for platform "ios" > Calling plugman.prepare for platform "ios" > Preparing ios project > ... > [seems to finish prepare (but without executing hooks) then exits] > ... > $ > Not sure if you plan to support iojs, but at least this report might help > someone googling. Unfamiliar with the Apache JIRA system so apologies if this > report is in the wrong place etc. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9297) Cordova CLI fails silently with iojs
[ https://issues.apache.org/jira/browse/CB-9297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14740854#comment-14740854 ] ASF GitHub Bot commented on CB-9297: Github user csantanapr commented on the pull request: https://github.com/apache/cordova-lib/pull/305#issuecomment-139555231 If it's something wrong with npm package xcode, we should open an issue and maybe help with a PR > Cordova CLI fails silently with iojs > > > Key: CB-9297 > URL: https://issues.apache.org/jira/browse/CB-9297 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 5.1.2 > Environment: Cordova CLI: 5.1.1 (this isn't in your version list > above) > ios-deploy version: 1.7.0 > ios-sim version: 4.1.1 > OS: Mac OS X Yosemite > Xcode version: Xcode 6.4 Build version 6E35b > node (iojs): 1.8.1 >Reporter: Robert Churchill >Assignee: Vladimir Kotikov >Priority: Critical > Labels: cordova-ios-4.0.x > > Running most build tasks (emulate, run, build) for ios when node is replaced > by iojs results in the build failing silently. Example: > $ cordova build ios > $ > $ cordova build ios --verbose > Generating config.xml from defaults for platform "ios" > Calling plugman.prepare for platform "ios" > Preparing ios project > ... > [seems to finish prepare (but without executing hooks) then exits] > ... > $ > Not sure if you plan to support iojs, but at least this report might help > someone googling. Unfamiliar with the Apache JIRA system so apologies if this > report is in the wrong place etc. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9297) Cordova CLI fails silently with iojs
[ https://issues.apache.org/jira/browse/CB-9297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14740635#comment-14740635 ] ASF GitHub Bot commented on CB-9297: Github user vladimir-kotikov commented on the pull request: https://github.com/apache/cordova-lib/pull/305#issuecomment-139524490 @nikhilkh, i've reworked tests for ios_parser so they work with real xcode project instead of mocking it. Regarding second question - yes, all the tests are passing (ran cordova-lib, cordova-js, platforms tests and mobilespec). > Cordova CLI fails silently with iojs > > > Key: CB-9297 > URL: https://issues.apache.org/jira/browse/CB-9297 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 5.1.2 > Environment: Cordova CLI: 5.1.1 (this isn't in your version list > above) > ios-deploy version: 1.7.0 > ios-sim version: 4.1.1 > OS: Mac OS X Yosemite > Xcode version: Xcode 6.4 Build version 6E35b > node (iojs): 1.8.1 >Reporter: Robert Churchill >Assignee: Vladimir Kotikov >Priority: Critical > Labels: cordova-ios-4.0.x > > Running most build tasks (emulate, run, build) for ios when node is replaced > by iojs results in the build failing silently. Example: > $ cordova build ios > $ > $ cordova build ios --verbose > Generating config.xml from defaults for platform "ios" > Calling plugman.prepare for platform "ios" > Preparing ios project > ... > [seems to finish prepare (but without executing hooks) then exits] > ... > $ > Not sure if you plan to support iojs, but at least this report might help > someone googling. Unfamiliar with the Apache JIRA system so apologies if this > report is in the wrong place etc. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9297) Cordova CLI fails silently with iojs
[ https://issues.apache.org/jira/browse/CB-9297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14738869#comment-14738869 ] ASF GitHub Bot commented on CB-9297: GitHub user vladimir-kotikov opened a pull request: https://github.com/apache/cordova-lib/pull/305 CB-9297 Parse xcode project syncronously to avoid issues with node v4 You can merge this pull request into a Git repository by running: $ git pull https://github.com/MSOpenTech/cordova-lib CB-9297 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-lib/pull/305.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 #305 commit 8ffa3239dc2af2626bebaee265f8f9ff1a610130 Author: Vladimir KotikovDate: 2015-09-10T12:29:41Z CB-9297 Parse xcode project syncronously to avoid issues with node v4 > Cordova CLI fails silently with iojs > > > Key: CB-9297 > URL: https://issues.apache.org/jira/browse/CB-9297 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 5.1.2 > Environment: Cordova CLI: 5.1.1 (this isn't in your version list > above) > ios-deploy version: 1.7.0 > ios-sim version: 4.1.1 > OS: Mac OS X Yosemite > Xcode version: Xcode 6.4 Build version 6E35b > node (iojs): 1.8.1 >Reporter: Robert Churchill >Assignee: Vladimir Kotikov >Priority: Critical > Labels: cordova-ios-4.0.x > > Running most build tasks (emulate, run, build) for ios when node is replaced > by iojs results in the build failing silently. Example: > $ cordova build ios > $ > $ cordova build ios --verbose > Generating config.xml from defaults for platform "ios" > Calling plugman.prepare for platform "ios" > Preparing ios project > ... > [seems to finish prepare (but without executing hooks) then exits] > ... > $ > Not sure if you plan to support iojs, but at least this report might help > someone googling. Unfamiliar with the Apache JIRA system so apologies if this > report is in the wrong place etc. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9297) Cordova CLI fails silently with iojs
[ https://issues.apache.org/jira/browse/CB-9297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14738992#comment-14738992 ] ASF GitHub Bot commented on CB-9297: Github user nikhilkh commented on the pull request: https://github.com/apache/cordova-lib/pull/305#issuecomment-139293826 This is a good one to fix. We might need a minor TOOLS release to get this out as node v4.0.0 might become popular. @stevengill Thoughts? > Cordova CLI fails silently with iojs > > > Key: CB-9297 > URL: https://issues.apache.org/jira/browse/CB-9297 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 5.1.2 > Environment: Cordova CLI: 5.1.1 (this isn't in your version list > above) > ios-deploy version: 1.7.0 > ios-sim version: 4.1.1 > OS: Mac OS X Yosemite > Xcode version: Xcode 6.4 Build version 6E35b > node (iojs): 1.8.1 >Reporter: Robert Churchill >Assignee: Vladimir Kotikov >Priority: Critical > Labels: cordova-ios-4.0.x > > Running most build tasks (emulate, run, build) for ios when node is replaced > by iojs results in the build failing silently. Example: > $ cordova build ios > $ > $ cordova build ios --verbose > Generating config.xml from defaults for platform "ios" > Calling plugman.prepare for platform "ios" > Preparing ios project > ... > [seems to finish prepare (but without executing hooks) then exits] > ... > $ > Not sure if you plan to support iojs, but at least this report might help > someone googling. Unfamiliar with the Apache JIRA system so apologies if this > report is in the wrong place etc. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9297) Cordova CLI fails silently with iojs
[ https://issues.apache.org/jira/browse/CB-9297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14739164#comment-14739164 ] ASF GitHub Bot commented on CB-9297: Github user stevengill commented on the pull request: https://github.com/apache/cordova-lib/pull/305#issuecomment-139314186 I will test it out today. I agree about doing a minor tools release with this fix. > Cordova CLI fails silently with iojs > > > Key: CB-9297 > URL: https://issues.apache.org/jira/browse/CB-9297 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 5.1.2 > Environment: Cordova CLI: 5.1.1 (this isn't in your version list > above) > ios-deploy version: 1.7.0 > ios-sim version: 4.1.1 > OS: Mac OS X Yosemite > Xcode version: Xcode 6.4 Build version 6E35b > node (iojs): 1.8.1 >Reporter: Robert Churchill >Assignee: Vladimir Kotikov >Priority: Critical > Labels: cordova-ios-4.0.x > > Running most build tasks (emulate, run, build) for ios when node is replaced > by iojs results in the build failing silently. Example: > $ cordova build ios > $ > $ cordova build ios --verbose > Generating config.xml from defaults for platform "ios" > Calling plugman.prepare for platform "ios" > Preparing ios project > ... > [seems to finish prepare (but without executing hooks) then exits] > ... > $ > Not sure if you plan to support iojs, but at least this report might help > someone googling. Unfamiliar with the Apache JIRA system so apologies if this > report is in the wrong place etc. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9297) Cordova CLI fails silently with iojs
[ https://issues.apache.org/jira/browse/CB-9297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14738993#comment-14738993 ] ASF GitHub Bot commented on CB-9297: Github user nikhilkh commented on the pull request: https://github.com/apache/cordova-lib/pull/305#issuecomment-139294305 @vladimir-kotikov Are there tests that break with this scenario failure or should we take the opportunity to add some here - not sure how easy that might be. Also, do all of our tests pass currently with node v4.0. > Cordova CLI fails silently with iojs > > > Key: CB-9297 > URL: https://issues.apache.org/jira/browse/CB-9297 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 5.1.2 > Environment: Cordova CLI: 5.1.1 (this isn't in your version list > above) > ios-deploy version: 1.7.0 > ios-sim version: 4.1.1 > OS: Mac OS X Yosemite > Xcode version: Xcode 6.4 Build version 6E35b > node (iojs): 1.8.1 >Reporter: Robert Churchill >Assignee: Vladimir Kotikov >Priority: Critical > Labels: cordova-ios-4.0.x > > Running most build tasks (emulate, run, build) for ios when node is replaced > by iojs results in the build failing silently. Example: > $ cordova build ios > $ > $ cordova build ios --verbose > Generating config.xml from defaults for platform "ios" > Calling plugman.prepare for platform "ios" > Preparing ios project > ... > [seems to finish prepare (but without executing hooks) then exits] > ... > $ > Not sure if you plan to support iojs, but at least this report might help > someone googling. Unfamiliar with the Apache JIRA system so apologies if this > report is in the wrong place etc. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9297) Cordova CLI fails silently with iojs
[ https://issues.apache.org/jira/browse/CB-9297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14725897#comment-14725897 ] Patrick Mueller commented on CB-9297: - Added a comment to the `node-xcode` issue re: coming change to node 4 on sync/async forked `send()` callback. But I think that's a red herring in this case. Not seeing anywhere in the code I'm running for the broken example, that a `fork()` is happening. > Cordova CLI fails silently with iojs > > > Key: CB-9297 > URL: https://issues.apache.org/jira/browse/CB-9297 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 5.1.2 > Environment: Cordova CLI: 5.1.1 (this isn't in your version list > above) > ios-deploy version: 1.7.0 > ios-sim version: 4.1.1 > OS: Mac OS X Yosemite > Xcode version: Xcode 6.4 Build version 6E35b > node (iojs): 1.8.1 >Reporter: Robert Churchill > > Running most build tasks (emulate, run, build) for ios when node is replaced > by iojs results in the build failing silently. Example: > $ cordova build ios > $ > $ cordova build ios --verbose > Generating config.xml from defaults for platform "ios" > Calling plugman.prepare for platform "ios" > Preparing ios project > ... > [seems to finish prepare (but without executing hooks) then exits] > ... > $ > Not sure if you plan to support iojs, but at least this report might help > someone googling. Unfamiliar with the Apache JIRA system so apologies if this > report is in the wrong place etc. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9297) Cordova CLI fails silently with iojs
[ https://issues.apache.org/jira/browse/CB-9297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14724993#comment-14724993 ] Julien Bouquillon commented on CB-9297: --- I have this issue with iojs-v2.4.0, and installed plugins with http/ssh git specs cordova prepare stop at the mentionned line and hooks dont get executed > Cordova CLI fails silently with iojs > > > Key: CB-9297 > URL: https://issues.apache.org/jira/browse/CB-9297 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 5.1.2 > Environment: Cordova CLI: 5.1.1 (this isn't in your version list > above) > ios-deploy version: 1.7.0 > ios-sim version: 4.1.1 > OS: Mac OS X Yosemite > Xcode version: Xcode 6.4 Build version 6E35b > node (iojs): 1.8.1 >Reporter: Robert Churchill > > Running most build tasks (emulate, run, build) for ios when node is replaced > by iojs results in the build failing silently. Example: > $ cordova build ios > $ > $ cordova build ios --verbose > Generating config.xml from defaults for platform "ios" > Calling plugman.prepare for platform "ios" > Preparing ios project > ... > [seems to finish prepare (but without executing hooks) then exits] > ... > $ > Not sure if you plan to support iojs, but at least this report might help > someone googling. Unfamiliar with the Apache JIRA system so apologies if this > report is in the wrong place etc. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9297) Cordova CLI fails silently with iojs
[ https://issues.apache.org/jira/browse/CB-9297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14725278#comment-14725278 ] Patrick Mueller commented on CB-9297: - Sorry for being a n00b, but I'm not familiar with cordova much anymore, so need a simple example to reproduce the problem. Can I repro with the default sample? And then just add a plugin? Can you provide an example of a plugin that's not working for you? > Cordova CLI fails silently with iojs > > > Key: CB-9297 > URL: https://issues.apache.org/jira/browse/CB-9297 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 5.1.2 > Environment: Cordova CLI: 5.1.1 (this isn't in your version list > above) > ios-deploy version: 1.7.0 > ios-sim version: 4.1.1 > OS: Mac OS X Yosemite > Xcode version: Xcode 6.4 Build version 6E35b > node (iojs): 1.8.1 >Reporter: Robert Churchill > > Running most build tasks (emulate, run, build) for ios when node is replaced > by iojs results in the build failing silently. Example: > $ cordova build ios > $ > $ cordova build ios --verbose > Generating config.xml from defaults for platform "ios" > Calling plugman.prepare for platform "ios" > Preparing ios project > ... > [seems to finish prepare (but without executing hooks) then exits] > ... > $ > Not sure if you plan to support iojs, but at least this report might help > someone googling. Unfamiliar with the Apache JIRA system so apologies if this > report is in the wrong place etc. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9297) Cordova CLI fails silently with iojs
[ https://issues.apache.org/jira/browse/CB-9297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14725309#comment-14725309 ] Patrick Mueller commented on CB-9297: - OK, so I think I figured out the cordova hooks thing (neat!). In my default project (hello sample), I added two hooks, for {{before_build}} and {{after_build}}: {noformat} $ cat hooks/before_build/log.js #!/usr/bin/env node console.log(' before build') $ cat hooks/after_build/log.js #!/usr/bin/env node console.log('- after build') {noformat} When I do a {{cordova build}}, I see the following output bracket the output of the build: {noformat} Running command: /Users/pmuellr/tmp/hello/hooks/before_build/log.js /Users/pmuellr/tmp/hello before build Running command: /Users/pmuellr/tmp/hello/platforms/ios/cordova/build ... many lines elided ... ** BUILD SUCCEEDED ** Running command: /Users/pmuellr/tmp/hello/hooks/after_build/log.js /Users/pmuellr/tmp/hello - after build {noformat} Works fine for me on Mac Yosemite, with io.js 2.4.0 and 3.2.0, cordova 5.2.0 Was it some code in your hook that caused the reference line in {{platform.js}} to be executed? Could you provide an example. > Cordova CLI fails silently with iojs > > > Key: CB-9297 > URL: https://issues.apache.org/jira/browse/CB-9297 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 5.1.2 > Environment: Cordova CLI: 5.1.1 (this isn't in your version list > above) > ios-deploy version: 1.7.0 > ios-sim version: 4.1.1 > OS: Mac OS X Yosemite > Xcode version: Xcode 6.4 Build version 6E35b > node (iojs): 1.8.1 >Reporter: Robert Churchill > > Running most build tasks (emulate, run, build) for ios when node is replaced > by iojs results in the build failing silently. Example: > $ cordova build ios > $ > $ cordova build ios --verbose > Generating config.xml from defaults for platform "ios" > Calling plugman.prepare for platform "ios" > Preparing ios project > ... > [seems to finish prepare (but without executing hooks) then exits] > ... > $ > Not sure if you plan to support iojs, but at least this report might help > someone googling. Unfamiliar with the Apache JIRA system so apologies if this > report is in the wrong place etc. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9297) Cordova CLI fails silently with iojs
[ https://issues.apache.org/jira/browse/CB-9297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14725501#comment-14725501 ] Patrick Mueller commented on CB-9297: - Thanks Julien, was able to reproduce with your example. Agree with Robert that lack of a {{.catch()}} at the end of the {{.then()}} chains smells fishy. Tried instrumenting the referenced module, was unable to see my instrumented output on the failure condition. May be being caught by someone else and thrown away, or perhaps there's a similar problem, that's happening earlier, dunno. Happy to look into it more, if anyone has any more hints. > Cordova CLI fails silently with iojs > > > Key: CB-9297 > URL: https://issues.apache.org/jira/browse/CB-9297 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 5.1.2 > Environment: Cordova CLI: 5.1.1 (this isn't in your version list > above) > ios-deploy version: 1.7.0 > ios-sim version: 4.1.1 > OS: Mac OS X Yosemite > Xcode version: Xcode 6.4 Build version 6E35b > node (iojs): 1.8.1 >Reporter: Robert Churchill > > Running most build tasks (emulate, run, build) for ios when node is replaced > by iojs results in the build failing silently. Example: > $ cordova build ios > $ > $ cordova build ios --verbose > Generating config.xml from defaults for platform "ios" > Calling plugman.prepare for platform "ios" > Preparing ios project > ... > [seems to finish prepare (but without executing hooks) then exits] > ... > $ > Not sure if you plan to support iojs, but at least this report might help > someone googling. Unfamiliar with the Apache JIRA system so apologies if this > report is in the wrong place etc. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9297) Cordova CLI fails silently with iojs
[ https://issues.apache.org/jira/browse/CB-9297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14725425#comment-14725425 ] Robert Churchill commented on CB-9297: -- I don't have time to check with iojs right now (I switched back to Node 0.12 once I realised what the problem was), but I didn't get the impression that hooks were the issue per se though I could be wrong. For the record I specified the hook from the config file, which seems to be the new way: {code} ... {code} If I can find any more info I'll post it ASAP. Without understanding the code fully it looks like the line referenced by Julien above needs a .catch at the end of the chain of .thens, otherwise promises have a way of swallowing up important errors. > Cordova CLI fails silently with iojs > > > Key: CB-9297 > URL: https://issues.apache.org/jira/browse/CB-9297 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 5.1.2 > Environment: Cordova CLI: 5.1.1 (this isn't in your version list > above) > ios-deploy version: 1.7.0 > ios-sim version: 4.1.1 > OS: Mac OS X Yosemite > Xcode version: Xcode 6.4 Build version 6E35b > node (iojs): 1.8.1 >Reporter: Robert Churchill > > Running most build tasks (emulate, run, build) for ios when node is replaced > by iojs results in the build failing silently. Example: > $ cordova build ios > $ > $ cordova build ios --verbose > Generating config.xml from defaults for platform "ios" > Calling plugman.prepare for platform "ios" > Preparing ios project > ... > [seems to finish prepare (but without executing hooks) then exits] > ... > $ > Not sure if you plan to support iojs, but at least this report might help > someone googling. Unfamiliar with the Apache JIRA system so apologies if this > report is in the wrong place etc. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9297) Cordova CLI fails silently with iojs
[ https://issues.apache.org/jira/browse/CB-9297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14725380#comment-14725380 ] Julien Bouquillon commented on CB-9297: --- Nop, my unexecuted after_prepare is just a console.log that works with node. After digging a bit, here's what i found : When you have this in your config.xml : {code} {code} the `./node_modules/.bin/cordova prepare` fails if i remove this line, it works Full non-working config.xml : {code} http://www.w3.org/ns/widgets; xmlns:cdv="http://cordova.apache.org/ns/1.0;> XXX Hello world http://xxx.tv;> xxx {code} > Cordova CLI fails silently with iojs > > > Key: CB-9297 > URL: https://issues.apache.org/jira/browse/CB-9297 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 5.1.2 > Environment: Cordova CLI: 5.1.1 (this isn't in your version list > above) > ios-deploy version: 1.7.0 > ios-sim version: 4.1.1 > OS: Mac OS X Yosemite > Xcode version: Xcode 6.4 Build version 6E35b > node (iojs): 1.8.1 >Reporter: Robert Churchill > > Running most build tasks (emulate, run, build) for ios when node is replaced > by iojs results in the build failing silently. Example: > $ cordova build ios > $ > $ cordova build ios --verbose > Generating config.xml from defaults for platform "ios" > Calling plugman.prepare for platform "ios" > Preparing ios project > ... > [seems to finish prepare (but without executing hooks) then exits] > ... > $ > Not sure if you plan to support iojs, but at least this report might help > someone googling. Unfamiliar with the Apache JIRA system so apologies if this > report is in the wrong place etc. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9297) Cordova CLI fails silently with iojs
[ https://issues.apache.org/jira/browse/CB-9297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14725616#comment-14725616 ] Julien Bouquillon commented on CB-9297: --- mmm i totally forgot that i had already dug into that and submitted an issue here : https://github.com/alunny/node-xcode/issues/61 > Cordova CLI fails silently with iojs > > > Key: CB-9297 > URL: https://issues.apache.org/jira/browse/CB-9297 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 5.1.2 > Environment: Cordova CLI: 5.1.1 (this isn't in your version list > above) > ios-deploy version: 1.7.0 > ios-sim version: 4.1.1 > OS: Mac OS X Yosemite > Xcode version: Xcode 6.4 Build version 6E35b > node (iojs): 1.8.1 >Reporter: Robert Churchill > > Running most build tasks (emulate, run, build) for ios when node is replaced > by iojs results in the build failing silently. Example: > $ cordova build ios > $ > $ cordova build ios --verbose > Generating config.xml from defaults for platform "ios" > Calling plugman.prepare for platform "ios" > Preparing ios project > ... > [seems to finish prepare (but without executing hooks) then exits] > ... > $ > Not sure if you plan to support iojs, but at least this report might help > someone googling. Unfamiliar with the Apache JIRA system so apologies if this > report is in the wrong place etc. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9297) Cordova CLI fails silently with iojs
[ https://issues.apache.org/jira/browse/CB-9297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14724081#comment-14724081 ] Julien Bouquillon commented on CB-9297: --- If i remember correctly, this line with `raw.prepare` fails, which stop the promise and we dont get any traceback in the console. https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/cordova/platform.js#L185 `require('./cordova').raw.prepare` is not a function at this moment > Cordova CLI fails silently with iojs > > > Key: CB-9297 > URL: https://issues.apache.org/jira/browse/CB-9297 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 5.1.2 > Environment: Cordova CLI: 5.1.1 (this isn't in your version list > above) > ios-deploy version: 1.7.0 > ios-sim version: 4.1.1 > OS: Mac OS X Yosemite > Xcode version: Xcode 6.4 Build version 6E35b > node (iojs): 1.8.1 >Reporter: Robert Churchill > > Running most build tasks (emulate, run, build) for ios when node is replaced > by iojs results in the build failing silently. Example: > $ cordova build ios > $ > $ cordova build ios --verbose > Generating config.xml from defaults for platform "ios" > Calling plugman.prepare for platform "ios" > Preparing ios project > ... > [seems to finish prepare (but without executing hooks) then exits] > ... > $ > Not sure if you plan to support iojs, but at least this report might help > someone googling. Unfamiliar with the Apache JIRA system so apologies if this > report is in the wrong place etc. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9297) Cordova CLI fails silently with iojs
[ https://issues.apache.org/jira/browse/CB-9297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14724532#comment-14724532 ] Patrick Mueller commented on CB-9297: - I'm not sure what "_seems to finish prepare (but without executing hooks) then exits_" means. Could you elaborate? I just tried running {{cordova build}} and {{cordova emulate}} with io.js 1.8.1 (originally reported version with error), and with iojs 3.2.0 (latest as of this comment) with cordova 5.2.0, and everything appeared to run correctly, to me. But I'm a bit rusty - perhaps I'm missing something (like, what the hooks are). > Cordova CLI fails silently with iojs > > > Key: CB-9297 > URL: https://issues.apache.org/jira/browse/CB-9297 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 5.1.2 > Environment: Cordova CLI: 5.1.1 (this isn't in your version list > above) > ios-deploy version: 1.7.0 > ios-sim version: 4.1.1 > OS: Mac OS X Yosemite > Xcode version: Xcode 6.4 Build version 6E35b > node (iojs): 1.8.1 >Reporter: Robert Churchill > > Running most build tasks (emulate, run, build) for ios when node is replaced > by iojs results in the build failing silently. Example: > $ cordova build ios > $ > $ cordova build ios --verbose > Generating config.xml from defaults for platform "ios" > Calling plugman.prepare for platform "ios" > Preparing ios project > ... > [seems to finish prepare (but without executing hooks) then exits] > ... > $ > Not sure if you plan to support iojs, but at least this report might help > someone googling. Unfamiliar with the Apache JIRA system so apologies if this > report is in the wrong place etc. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9297) Cordova CLI fails silently with iojs
[ https://issues.apache.org/jira/browse/CB-9297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14615789#comment-14615789 ] Shazron Abdullah commented on CB-9297: -- This is a known issue with no resolution currently -- hopefully with the node/io js reconciliation we can fix things properly by then. Cordova CLI fails silently with iojs Key: CB-9297 URL: https://issues.apache.org/jira/browse/CB-9297 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 5.1.2 Environment: Cordova CLI: 5.1.1 (this isn't in your version list above) ios-deploy version: 1.7.0 ios-sim version: 4.1.1 OS: Mac OS X Yosemite Xcode version: Xcode 6.4 Build version 6E35b node (iojs): 1.8.1 Reporter: Robert Churchill Running most build tasks (emulate, run, build) for ios when node is replaced by iojs results in the build failing silently. Example: $ cordova build ios $ $ cordova build ios --verbose Generating config.xml from defaults for platform ios Calling plugman.prepare for platform ios Preparing ios project ... [seems to finish prepare (but without executing hooks) then exits] ... $ Not sure if you plan to support iojs, but at least this report might help someone googling. Unfamiliar with the Apache JIRA system so apologies if this report is in the wrong place etc. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9297) Cordova CLI fails silently with iojs
[ https://issues.apache.org/jira/browse/CB-9297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14615796#comment-14615796 ] Robert Churchill commented on CB-9297: -- Let's make a fork, they said. Cordova CLI fails silently with iojs Key: CB-9297 URL: https://issues.apache.org/jira/browse/CB-9297 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 5.1.2 Environment: Cordova CLI: 5.1.1 (this isn't in your version list above) ios-deploy version: 1.7.0 ios-sim version: 4.1.1 OS: Mac OS X Yosemite Xcode version: Xcode 6.4 Build version 6E35b node (iojs): 1.8.1 Reporter: Robert Churchill Running most build tasks (emulate, run, build) for ios when node is replaced by iojs results in the build failing silently. Example: $ cordova build ios $ $ cordova build ios --verbose Generating config.xml from defaults for platform ios Calling plugman.prepare for platform ios Preparing ios project ... [seems to finish prepare (but without executing hooks) then exits] ... $ Not sure if you plan to support iojs, but at least this report might help someone googling. Unfamiliar with the Apache JIRA system so apologies if this report is in the wrong place etc. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org