You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Raphael (JIRA)" <ji...@apache.org> on 2018/06/25 20:17:00 UTC

[jira] [Assigned] (CB-11186) "cordova build" fails while "cordova prepare && cordova compile" works

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

Raphael reassigned CB-11186:
----------------------------

    Assignee: Raphael

> "cordova build" fails while "cordova prepare && cordova compile" works
> ----------------------------------------------------------------------
>
>                 Key: CB-11186
>                 URL: https://issues.apache.org/jira/browse/CB-11186
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-lib
>    Affects Versions: 6.1.1
>         Environment: Ubuntu 15.10
>            Reporter: Lex Mourek
>            Assignee: Raphael
>            Priority: Minor
>              Labels: reproduced, triaged
>
> Cordova CLI help says {{cordova build}} is just an alias for {{cordova prepare && cordova compile}}, but I got two different results:
> In confix.xml I have a few {{<plugin/>}}'s and {{<engine/>}}'s.
> Assume I have not built platforms and plugins yet ({{rm -rf plugins/ platforms/}}):
> {code}
> $ cordova build
> Error: No platforms added to this project. Please use `cordova platform add <platform>`.
> {code}
> {code}
> $ cordova prepare && cordova compile
> Restoring platform android@5.1.1 referenced on config.xml
> Adding android project...
> Creating Cordova project for the Android platform:
> ...
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org