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

CLI `cordova requirements` printing out [object Object] in place of some version numbers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • cordova@8.0.0
    • None
    • cordova-ios
    • None
    • macOS High Sierra 10.13.2
      npm v5.6.0
      node v9.4.0
      cordova CLI v8.0.0

    Description

      When `cordova requirements` is executed, the output prints [object Object] in place of some of the version numbers.

      e.g.

      $ cordova requirements
      Android Studio project detected
      
      Requirements check results for android:
      Java JDK: installed 1.8.0
      Android SDK: installed true
      Android target: not installed 
      avdmanager: Command failed with exit code 1
      Gradle: not installed 
      Could not find an installed version of Gradle either in Android Studio,
      or on your system to install the gradle wrapper. Please include gradle 
      in your path, or install Android Studio
      
      Requirements check results for ios:
      Apple macOS: installed darwin
      Xcode: installed [object Object]
      ios-deploy: installed [object Object]
      CocoaPods: installed [object Object]
      

      Here, the versions of the ios requirements are not displayed.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              darcymeyer Darcy Meyer
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: