cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Kotikov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-7575) 'cordova run android -- --nobuild' fails on cordova 3.6.3
Date Thu, 18 Sep 2014 08:19:33 GMT

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

Vladimir Kotikov updated CB-7575:
---------------------------------
    Description: 
*Repro:*
1. install cordova 3.6.3-0.2.12
2. cordova create foo
3. cd foo
4. cordova platform add android
5. cordova build android
6. cordova run android -- --nobuild

*Result:*
The app fails to run.
{noformat}
"TypeError: Cannot read property 'length' of undefined
    at G:\temp36\nobuild2\platforms\android\cordova\lib\build.js:334:35"
{noformat}

*Expected:*
The app should run without building.

*Error details:*
{noformat}
G:\temp36\nobuild2>cordova run android -- --nobuild
Running command: G:\temp36\nobuild2\platforms\android\cordova\run.bat --nobuild
Skipping build...
G:\temp36\nobuild2\platforms\android\cordova\node_modules\q\q.js:126
                    throw e;
                          ^
TypeError: Cannot read property 'length' of undefined
    at G:\temp36\nobuild2\platforms\android\cordova\lib\build.js:334:35
    at _fulfilled (G:\temp36\nobuild2\platforms\android\cordova\node_modules\q\q.js:798:54)
    at self.promiseDispatch.done (G:\temp36\nobuild2\platforms\android\cordova\node_modules\q\q.js:827:30)
    at Promise.promise.promiseDispatch (G:\temp36\nobuild2\platforms\android\cordova\node_modules\q\q.js:760:13)
    at G:\temp36\nobuild2\platforms\android\cordova\node_modules\q\q.js:526:49
    at flush (G:\temp36\nobuild2\platforms\android\cordova\node_modules\q\q.js:108:17)
    at process._tickCallback (node.js:415:13)
Error: G:\temp36\nobuild2\platforms\android\cordova\run.bat: Command failed with exit code
8
    at ChildProcess.whenDone (C:\Users\joelku\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:135:23)
    at ChildProcess.EventEmitter.emit (events.js:98:17)
    at maybeClose (child_process.js:743:16)
    at Process.ChildProcess._handle.onexit (child_process.js:810:5)
{noformat}

  was:
Repro:
1. install cordova 3.6.3-0.2.12
2. cordova create foo
3. cd foo
4. cordova platform add android
5. cordova build android
6. cordova run android -- --nobuild

Result:
The app fails to run.

"TypeError: Cannot read property 'length' of undefined
    at G:\temp36\nobuild2\platforms\android\cordova\lib\build.js:334:35"

Expected:
The app should run without building.

Error details:

G:\temp36\nobuild2>cordova run android -- --nobuild
Running command: G:\temp36\nobuild2\platforms\android\cordova\run.bat --nobuild
Skipping build...
G:\temp36\nobuild2\platforms\android\cordova\node_modules\q\q.js:126
                    throw e;
                          ^
TypeError: Cannot read property 'length' of undefined
    at G:\temp36\nobuild2\platforms\android\cordova\lib\build.js:334:35
    at _fulfilled (G:\temp36\nobuild2\platforms\android\cordova\node_modules\q\q.js:798:54)
    at self.promiseDispatch.done (G:\temp36\nobuild2\platforms\android\cordova\node_modules\q\q.js:827:30)
    at Promise.promise.promiseDispatch (G:\temp36\nobuild2\platforms\android\cordova\node_modules\q\q.js:760:13)
    at G:\temp36\nobuild2\platforms\android\cordova\node_modules\q\q.js:526:49
    at flush (G:\temp36\nobuild2\platforms\android\cordova\node_modules\q\q.js:108:17)
    at process._tickCallback (node.js:415:13)
Error: G:\temp36\nobuild2\platforms\android\cordova\run.bat: Command failed with exit code
8
    at ChildProcess.whenDone (C:\Users\joelku\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:135:23)
    at ChildProcess.EventEmitter.emit (events.js:98:17)
    at maybeClose (child_process.js:743:16)
    at Process.ChildProcess._handle.onexit (child_process.js:810:5)


> 'cordova run android -- --nobuild' fails on cordova 3.6.3
> ---------------------------------------------------------
>
>                 Key: CB-7575
>                 URL: https://issues.apache.org/jira/browse/CB-7575
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 3.6.0
>            Reporter: Vladimir Kotikov
>              Labels: android, nobuild
>
> *Repro:*
> 1. install cordova 3.6.3-0.2.12
> 2. cordova create foo
> 3. cd foo
> 4. cordova platform add android
> 5. cordova build android
> 6. cordova run android -- --nobuild
> *Result:*
> The app fails to run.
> {noformat}
> "TypeError: Cannot read property 'length' of undefined
>     at G:\temp36\nobuild2\platforms\android\cordova\lib\build.js:334:35"
> {noformat}
> *Expected:*
> The app should run without building.
> *Error details:*
> {noformat}
> G:\temp36\nobuild2>cordova run android -- --nobuild
> Running command: G:\temp36\nobuild2\platforms\android\cordova\run.bat --nobuild
> Skipping build...
> G:\temp36\nobuild2\platforms\android\cordova\node_modules\q\q.js:126
>                     throw e;
>                           ^
> TypeError: Cannot read property 'length' of undefined
>     at G:\temp36\nobuild2\platforms\android\cordova\lib\build.js:334:35
>     at _fulfilled (G:\temp36\nobuild2\platforms\android\cordova\node_modules\q\q.js:798:54)
>     at self.promiseDispatch.done (G:\temp36\nobuild2\platforms\android\cordova\node_modules\q\q.js:827:30)
>     at Promise.promise.promiseDispatch (G:\temp36\nobuild2\platforms\android\cordova\node_modules\q\q.js:760:13)
>     at G:\temp36\nobuild2\platforms\android\cordova\node_modules\q\q.js:526:49
>     at flush (G:\temp36\nobuild2\platforms\android\cordova\node_modules\q\q.js:108:17)
>     at process._tickCallback (node.js:415:13)
> Error: G:\temp36\nobuild2\platforms\android\cordova\run.bat: Command failed with exit
code 8
>     at ChildProcess.whenDone (C:\Users\joelku\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:135:23)
>     at ChildProcess.EventEmitter.emit (events.js:98:17)
>     at maybeClose (child_process.js:743:16)
>     at Process.ChildProcess._handle.onexit (child_process.js:810:5)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message