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

[BlackBerry10] Improve error message when vmware is not installed on Windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 3.0.0, 3.1.0, 3.2.0
    • 3.6.0
    • None

    Description

      The script dies like this rather than informing user that it could not find VMWare DHCP leases file:

      fs.js:418
      binding.open(pathModule._makeLong(path),
      ^
      TypeError: path must be a string
      at Object.fs.open (fs.js:418:11)
      at Object.fs.readFile (fs.js:206:6)
      at _self.findConnectedSimulator (C:_MY_FO~1_DEVEL~1\WORKSP~1\CROSSP~1\phonegap\bbtest\PLATFO~1\BLACKB~1\cordova\lib\target-utils.js:184:12)
      at Object.async.series.ip (C:_MY_FO~1_DEVEL~1\WORKSP~1\CROSSP~1\phonegap\bbtest\PLATFO~1\BLACKB~1\cordova\lib\run-utils.js:46:17)
      at C:_MY_FO~1_DEVEL~1\WORKSP~1\CROSSP~1\phonegap\bbtest\PLATFO~1\BLACKB~1\cordova\node_modules\async\lib\async.js:561:25
      at iterate (C:_MY_FO~1_DEVEL~1\WORKSP~1\CROSSP~1\phonegap\bbtest\PLATFO~1\BLACKB~1\cordova\node_modules\async\lib\async.js:131:13)
      at Object.async.eachSeries (C:_MY_FO~1_DEVEL~1\WORKSP~1\CROSSP~1\phonegap\bbtest\PLATFO~1\BLACKB~1\cordova\node_modules\async\lib\async.js:147:9)

      at Object.async.series (C:_MY_FO~1_DEVEL~1\WORKSP~1\CROSSP~1\phonegap\bbtest\PLATFO~1\BLACKB~1\cordova\node_modules\async\lib\async.js:560:19)
      at Object.getTargetName (C:_MY_FO~1_DEVEL~1\WORKSP~1\CROSSP~1\phonegap\bbtest\PLATFO~1\BLACKB~1\cordova\lib\run-utils.js:43:15)
      at fn (C:_MY_FO~1_DEVEL~1\WORKSP~1\CROSSP~1\phonegap\bbtest\PLATFO~1\BLACKB~1\cordova\node_modules\async\lib\async.js:579:34)
      ]

      Attachments

        Activity

          People

            purplecabbage Jesse MacFadyen
            bryanhiggins Bryan Higgins
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: