cordova-issues mailing list archives

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

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

Julien Bouquillon commented on CB-9297:
---------------------------------------

Nop, my unexecuted after_prepare is just a console.log that works with node. 

After digging a bit, here's what i found :

When you have this in your config.xml :

{code}
<preference name="target-device" value="tablet" />
<preference name="deployment-target" value="8.0" />
{code}

the `./node_modules/.bin/cordova prepare` fails

if i remove this line, it works

Full non-working config.xml :
{code}
<?xml version='1.0' encoding='utf-8'?>
<widget id="tv.xxx.yyy" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
    <name>XXX</name>
    <description>
        Hello world
    </description>
    <author email="developers@xxx.tv" href="http://xxx.tv">
        xxx
    </author>
    <content src="index.html" />
    <access origin="*" />
    <preference name="target-device" value="tablet" />
    <preference name="deployment-target" value="8.0" />
</widget>
{code}

> 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