You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Darryl Pogue (JIRA)" <ji...@apache.org> on 2018/06/26 04:09:00 UTC
[jira] [Updated] (CB-7825) cordova serve breaks silently when any
platform's prepare step fails
[ https://issues.apache.org/jira/browse/CB-7825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Darryl Pogue updated CB-7825:
-----------------------------
Component/s: (was: cordova-lib)
(was: cordova-cli)
cordova-serve
> cordova serve breaks silently when any platform's prepare step fails
> --------------------------------------------------------------------
>
> Key: CB-7825
> URL: https://issues.apache.org/jira/browse/CB-7825
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-serve
> Affects Versions: 4.0.0
> Reporter: Josh Soref
> Assignee: Josh Soref
> Priority: Major
>
> {quote}
> $ cordova serve
> $
> {quote}
> totally unhelpful.
> {quote}
> for a in `cd platforms/; ls`; do cordova prepare $a > /dev/null 2> /dev/null || echo $a is broken; done
> android is broken
> {quote}
> Specifically, i'm using /tmp on OS X for my project, and /tmp self destructs, so prepare failed due to:
> {quote}
> Error: ENOENT, no such file or directory '/tmp/aa/platforms/android/res/values/strings.xml'
> {quote}
> Expected result:
> cordova serve should serve all working platforms and spit out a warning for broken platforms. If it can't serve any platforms, it should fail, and when it fails, there should be an error code returned to its caller.
--
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