cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-10421) Run script in cordova-android projects throws exception with help flag
Date Tue, 26 Jan 2016 14:14:39 GMT

    [ https://issues.apache.org/jira/browse/CB-10421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15117249#comment-15117249
] 

ASF subversion and git services commented on CB-10421:
------------------------------------------------------

Commit 233c2bd8825b6f59e11f2c51fa8b2e9d5049c9a9 in cordova-android's branch refs/heads/master
from [~vladimir.kotikov]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=233c2bd ]

CB-10421 Fixes exception when calling run script with --help option


> 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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message