# Ionic build failed. angularfire2 5.0.0-rc.3 error

**URL:** <https://forum.ionicframework.com/t/ionic-build-failed-angularfire2-5-0-0-rc-3-error/110508>\
**Category:** ionic-v3\
**Created:** [October 31, 2017, 4:51am UTC](https://forum.ionicframework.com/t/ionic-build-failed-angularfire2-5-0-0-rc-3-error/110508 "2017-10-31T04:51:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![togotech](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/togotech/32/105348_2.png) [@togotech](https://forum.ionicframework.com/u/togotech)\
**Post date:** [October 31, 2017, 4:52am UTC](https://forum.ionicframework.com/t/ionic-build-failed-angularfire2-5-0-0-rc-3-error/110508/1 "2017-10-31T04:52:00Z")

</div>

Hi All,

I have probably looked and tried all topics related to failure of ionic cordova build --prod --release which specifies angularfire2 problem. I do not want to go down to angularfire2 Ver4 (since it requires code changes on several files). I am unable to find a solution fir angularfire2 Ver5. This is not a problem with [AngularFire Team](https://github.com/angular/angularfire2/issues/1124)

 ![· Issue 1124 · angular angularfire2](https://global.discourse-cdn.com/ionicframework/original/3X/7/d/7dae3a8823f555351c9ef352d46b2b3ba4720b4c.png)

Following is my ionic info:

```auto
 @ionic/cli-utils : 1.15.2
    ionic (Ionic CLI) : 3.15.2

global packages:

    cordova (Cordova CLI) : 7.1.0

local packages:

    @ionic/app-scripts : 2.1.4
    Cordova Platforms : android 6.3.0
    Ionic Framework : ionic-angular 3.6.0

System:

    Node : v6.11.1
    npm : 5.5.1
    OS : Windows 10

Environment Variables:

    ANDROID_HOME : not set

```
