Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
cordova-android 5.1.0, windows 10
Description
Running cordova\run.bat --help within an Android project results in a TypeError and a thrown exception. I'm talking about the platform only workflow (not using the Cordova CLI) as described here
^
TypeError: Cannot read property '1' of undefined
at Object.module.exports.help (c:\apps\hello\platforms\android\cordova\lib\run.js:120:62)
at Object.<anonymous> (c:\apps\hello\platforms\android\cordova\run:28:26)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Function.Module.runMain (module.js:501:10)
at startup (node.js:129:16)
at node.js:814:3