You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2015/10/29 21:33:27 UTC
[jira] [Commented] (CB-9902) cordova run --list broken
[ https://issues.apache.org/jira/browse/CB-9902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14981209#comment-14981209 ]
Shazron Abdullah commented on CB-9902:
--------------------------------------
https://github.com/apache/cordova-lib/blob/7db6958b353b1ba2ad8d793d0460dc1b3c9d372c/cordova-common/src/superspawn.js#L106
args.map is undefined, since args here is an object, not an array.
> cordova run --list broken
> -------------------------
>
> Key: CB-9902
> URL: https://issues.apache.org/jira/browse/CB-9902
> Project: Apache Cordova
> Issue Type: Bug
> Components: CordovaCommon
> Reporter: Shazron Abdullah
> Assignee: Shazron Abdullah
> Priority: Critical
> Labels: cordova-ios-4.0.x
>
> {code}
> $ cordova run --list --verbose
> Available ios devices:
> Error: TypeError: undefined is not a function
> at Object.exports.spawn (/Users/shazron/Documents/git/apache/cordova-lib/cordova-common/src/superspawn.js:106:107)
> at displayDevices (/Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/src/cordova/targets.js:38:23)
> at _fulfilled (/Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:787:54)
> at self.promiseDispatch.done (/Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:816:30)
> at Promise.promise.promiseDispatch (/Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:749:13)
> at /Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:810:14
> at flush (/Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:108:17)
> at process._tickCallback (node.js:355:11)
> at Function.Module.runMain (module.js:503:11)
> at startup (node.js:129:16)
> {code}
--
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