# Failed to get cordova version

**URL:** <https://discuss.bitrise.io/t/failed-to-get-cordova-version/6423>\
**Category:** Builds\
**Created:** [October 9, 2018, 7:48am UTC](https://discuss.bitrise.io/t/failed-to-get-cordova-version/6423 "2018-10-09T07:48:12Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![alonrosenfeld](https://avatars.discourse-cdn.com/v4/letter/a/eb9ed0/32.png) [@alonrosenfeld](https://discuss.bitrise.io/u/alonrosenfeld)\
**Post date:** [October 9, 2018, 7:48am UTC](https://discuss.bitrise.io/t/failed-to-get-cordova-version/6423/1 "2018-10-09T07:48:12Z")

</div>

# Bitrise Build Issue Report template

## Description of the issue

Failed to get cordova version, error

## Environment:

Bitrise Default Hybrid Stack

Installing local ionic cli  
$ npm “install” “ionic@latest”  
Failed to get cordova version, error: failed to parse version: 8.1.1 (cordova-lib@8.1.0): Malformed version: 8.1.1 (cordova-lib@8.1.0)

Ionic Build

## Reproducibility

- \_Does a “Rebuild” help? NO
- _Does a rebuild without caches help? (You can remove the `Cache:Pull` and `Cache:Push` steps temporarily to not to use the cache, or [you can delete all the caches on the `Settings` tab of the app](http://devcenter.bitrise.io/caching/about-caching/#downloading-and-deleting-caches)._ : NO
- _Does the issue happen sporadically, or every time?_ : YES
- _Does upgrading the build Step to the latest version help?_ : NO
- _When did the issue start?_ :

### Local reproduction

_Can it be reproduced on your own Mac/PC by following our [local debug guide](http://discuss.bitrise.io/t/how-to-debug-your-build-locally-it-works-on-my-mac-pc-but-not-on-bitrise-io/392)? Please follow at least the first section (“Testing with a full clean git clone”) to make sure to test the state of the code what [bitrise.io](http://bitrise.io) will get when it does a git clone in the clean environment! If possible please note which sections you tried._

Works locally on Mac machine

### Local reproduction: Linux / Android (docker based) stack builds

_Can it be reproduced by running the build locally, after doing a new git clone of the repository into the `/tmp` directory and running the build from there with the Bitrise CLI ( [https://www.bitrise.io/cli](https://www.bitrise.io/cli) )? If no, can it be reproduced with Docker (using the same docker images / environment we use on [bitrise.io](http://bitrise.io))? Related guide: [http://devcenter.bitrise.io/docker/run-your-build-locally-in-docker/](http://devcenter.bitrise.io/docker/run-your-build-locally-in-docker/) ._

Works locally on Mac machine

## Build log

_Please copy paste the build’s [bitrise.io](http://bitrise.io) URL here (or if the issue happens somewhere else then the full logs), or if you can’t share the url / log here then send the url or full log through a private channel (e.g. email - [https://www.bitrise.io/contact](https://www.bitrise.io/contact) ), with a link to the related Discuss issue._  
[https://app.bitrise.io/build/dadec1af89e2ea0e](https://app.bitrise.io/build/dadec1af89e2ea0e)

---

<div class="post-metadata">

**Author:** ![bitce](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/bitce/32/1639_2.png) [@bitce](https://discuss.bitrise.io/u/bitce)\
**Post date:** [October 9, 2018, 9:26am UTC](https://discuss.bitrise.io/t/failed-to-get-cordova-version/6423/2 "2018-10-09T09:26:44Z")

</div>

Sorry to hear about the issue @alonrosenfeld, we’ll start looking into it and get back to you as soon as we can!

---

<div class="post-metadata">

**Author:** ![tamasbazsonyi](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/tamasbazsonyi/32/1654_2.png) [@tamasbazsonyi](https://discuss.bitrise.io/u/tamasbazsonyi)\
**Post date:** [October 12, 2018, 4:34pm UTC](https://discuss.bitrise.io/t/failed-to-get-cordova-version/6423/3 "2018-10-12T16:34:08Z")

</div>

Hi @alonrosenfeld,  
Could you enable support access to the app and may I start a few test builds to investigate the issue? (you can find a guide here on how to enable support user: [https://devcenter.bitrise.io/troubleshooting/enabling-bitrise-support-user/](https://devcenter.bitrise.io/troubleshooting/enabling-bitrise-support-user/) )

---

<div class="post-metadata">

**Author:** ![alonrosenfeld](https://avatars.discourse-cdn.com/v4/letter/a/eb9ed0/32.png) [@alonrosenfeld](https://discuss.bitrise.io/u/alonrosenfeld)\
**Post date:** [October 14, 2018, 2:11pm UTC](https://discuss.bitrise.io/t/failed-to-get-cordova-version/6423/4 "2018-10-14T14:11:33Z")

</div>

done, thanks!

---

<div class="post-metadata">

**Author:** ![fehersanyi-bitrise](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/fehersanyi-bitrise/32/1912_2.png) [@fehersanyi-bitrise](https://discuss.bitrise.io/u/fehersanyi-bitrise)\
**Post date:** [October 26, 2018, 1:21pm UTC](https://discuss.bitrise.io/t/failed-to-get-cordova-version/6423/5 "2018-10-26T13:21:21Z")

</div>

Hello there! @alonrosenfeld I don’t know if the issue is solved or not, just wanted to follow up.  
are the builds running now?

---

<div class="post-metadata">

**Author:** ![alonrosenfeld](https://avatars.discourse-cdn.com/v4/letter/a/eb9ed0/32.png) [@alonrosenfeld](https://discuss.bitrise.io/u/alonrosenfeld)\
**Post date:** [October 28, 2018, 6:17am UTC](https://discuss.bitrise.io/t/failed-to-get-cordova-version/6423/6 "2018-10-28T06:17:46Z")

</div>

Partially, I managed to run iOS only using Cordova version 8.0.0 and NOT latest.  
Android now fails for various reasons that I couldn;t figure out yet such as:

_Could not resolve all files for configuration ‘:app:releaseCompileClasspath’._

Obviously this is very frustrating and since time is an issue I’m back to building versions manually for now…

---

<div class="post-metadata">

**Author:** ![fehersanyi-bitrise](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/fehersanyi-bitrise/32/1912_2.png) [@fehersanyi-bitrise](https://discuss.bitrise.io/u/fehersanyi-bitrise)\
**Post date:** [October 29, 2018, 7:49am UTC](https://discuss.bitrise.io/t/failed-to-get-cordova-version/6423/7 "2018-10-29T07:49:32Z")

</div>

Hello there! could it be that there is a dependency from jcenter() that it does not find? if yes, thn you can solve it to put google() in the first place in the build.gradle files repositories.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/d/d901cf2aad020f2dd11918afc89ec2089bb87b35.png) [@system](https://discuss.bitrise.io/u/system)\
**Post date:** [November 28, 2018, 7:49am UTC](https://discuss.bitrise.io/t/failed-to-get-cordova-version/6423/8 "2018-11-28T07:49:34Z")

</div>

Closed on November 28, 2018, 7:49am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
