cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Churchill (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-9297) Cordova CLI fails silently with iojs
Date Tue, 01 Sep 2015 13:51:46 GMT

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

Robert Churchill commented on CB-9297:
--------------------------------------

I don't have time to check with iojs right now (I switched back to Node 0.12 once I realised
what the problem was), but I didn't get the impression that hooks were the issue per se though
I could be wrong. For the record I specified the hook from the config file, which seems to
be the new way:

{code}
<widget...> ... <hook type="after_prepare" src="scripts/020_copy_config.js"/>
{code}

If I can find any more info I'll post it ASAP. Without understanding the code fully it looks
like the line referenced by Julien above needs a .catch at the end of the chain of .thens,
otherwise promises have a way of swallowing up important errors.

> Cordova CLI fails silently with iojs
> ------------------------------------
>
>                 Key: CB-9297
>                 URL: https://issues.apache.org/jira/browse/CB-9297
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 5.1.2
>         Environment: Cordova CLI: 5.1.1 (this isn't in your version list above)
> ios-deploy version: 1.7.0 
> ios-sim version: 4.1.1 
> OS: Mac OS X Yosemite
> Xcode version: Xcode 6.4 Build version 6E35b 
> node (iojs): 1.8.1
>            Reporter: Robert Churchill
>
> Running most build tasks (emulate, run, build) for ios when node is replaced by iojs
results in the build failing silently. Example:
> $ cordova build ios
> $
> $ cordova build ios --verbose
> Generating config.xml from defaults for platform "ios"
> Calling plugman.prepare for platform "ios"
> Preparing ios project
> ...
> [seems to finish prepare (but without executing hooks) then exits]
> ...
> $
> Not sure if you plan to support iojs, but at least this report might help someone googling.
Unfamiliar with the Apache JIRA system so apologies if this report is in the wrong place etc.



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