Bryan Higgins created CB-5448:
---------------------------------

             Summary: [BlackBerry10] Improve error message when vmware is not 
installed on Windows
                 Key: CB-5448
                 URL: https://issues.apache.org/jira/browse/CB-5448
             Project: Apache Cordova
          Issue Type: Bug
          Components: BlackBerry
    Affects Versions: 3.1.0, 3.0.0, 3.2.0
            Reporter: Bryan Higgins
            Assignee: Bryan Higgins
             Fix For: 3.3.0


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



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to