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 2014/05/13 04:33:15 UTC
[jira] [Resolved] (CB-6677) coho foreach fails on node 0.10.26
[ https://issues.apache.org/jira/browse/CB-6677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Grieve resolved CB-6677.
-------------------------------
Resolution: Fixed
Not sure why gnode breaks this, but supposedly equivalent code makes it work...
> coho foreach fails on node 0.10.26
> ----------------------------------
>
> Key: CB-6677
> URL: https://issues.apache.org/jira/browse/CB-6677
> Project: Apache Cordova
> Issue Type: Bug
> Components: Coho
> Environment: mac
> Reporter: Steve Gill
> Assignee: Andrew Grieve
> Priority: Minor
>
> coho foreach -r cadence "git checkout 3.4.x"
> Error: unrecognized flag --harmony-generators
> Try --help for options
> Using gnode to polyfill missing --harmony-generators
> Running from /Users/stevengill/Documents/repo/cordova/cordova
> cordova-android/ =============== Executing: /bin/bash -c git checkout 3.5.x
> /Users/stevengill/Documents/repo/cordova/cordova/cordova-coho/node_modules/co/index.js:287
> throw err;
> ^
> TypeError: Incorrect value for stdio stream: inherit
> at child_process.js:909:13
> at Array.reduce (native)
> at ChildProcess.spawn (child_process.js:864:17)
> at Object.exports.spawn (child_process.js:723:9)
> at Object.exports.spawn (/Users/stevengill/Documents/repo/cordova/cordova/cordova-coho/src/superspawn.js:108:31)
> at Object.exports.execHelper (/Users/stevengill/Documents/repo/cordova/cordova/cordova-coho/src/executil.js:49:29)
> at $callee$ (/Users/stevengill/Documents/repo/cordova/cordova/cordova-coho/src/for-each.js:55:41)
> at Empty.invoke (evalmachine.<anonymous>:148:31)
> at next (/Users/stevengill/Documents/repo/cordova/cordova/cordova-coho/node_modules/co/index.js:77:21)
> at /Users/stevengill/Documents/repo/cordova/cordova/cordova-coho/node_modules/co/index.js:50:5
--
This message was sent by Atlassian JIRA
(v6.2#6252)