Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-9902

cordova run --list broken

VotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • None
    • cordova-common

    Description

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

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            shazron Shazron Abdullah
            shazron Shazron Abdullah
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment