cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikhil Khandelwal (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-10421) Run script in cordova-android projects throws exception with help flag
Date Mon, 25 Jan 2016 18:53:40 GMT

     [ https://issues.apache.org/jira/browse/CB-10421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Nikhil Khandelwal updated CB-10421:
-----------------------------------
    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|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

  was: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]


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