[
https://issues.apache.org/jira/browse/CB-10421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vladimir Kotikov resolved CB-10421.
-----------------------------------
Resolution: Fixed
> Run script in cordova-android projects throws exception with help flag
> ----------------------------------------------------------------------
>
> Key: CB-10421
> URL: https://issues.apache.org/jira/browse/CB-10421
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Environment: cordova-android 5.1.0, windows 10
> Reporter: Richard B Knoll
> Assignee: Vladimir Kotikov
> Labels: regression, triaged
>
> 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|http://cordova.apache.org/docs/en/latest/guide/platforms/android/tools.html]
> ^
> 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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]