# Installing firebase & angularfire2 unable to install

**URL:** <https://forum.codewithmosh.com/t/installing-firebase-angularfire2-unable-to-install/14611>\
**Category:** Angular\
**Created:** [August 22, 2022, 10:35am UTC](https://forum.codewithmosh.com/t/installing-firebase-angularfire2-unable-to-install/14611 "2022-08-22T10:35:47Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jmrunkle](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/jmrunkle/32/3765_2.png) [@jmrunkle](https://forum.codewithmosh.com/u/jmrunkle)\
**Post date:** [August 22, 2022, 4:04pm UTC](https://forum.codewithmosh.com/t/installing-firebase-angularfire2-unable-to-install/14611/2 "2022-08-22T16:04:00Z")

</div>

> [@What firebase and angularfire2 version](https://forum.codewithmosh.com/t/what-firebase-and-angularfire2-version/7166/2):
>
> i have done trial and error for hours. the version that works for me is : angular : 4 firebase : 4.13.1 angularfire2 : 5.0.0-rc.3 even then i got an error in section ‘Building Real-time Apps with Firebase : chapter 6’. in the video it is explained that AngularFireDatabase returns observable type, but for me it actually returns AngularFireList type. So i adjust the code a bit in app.component.ts : constructor(db: AngularFireDatabase) { db.list(’/courses’).valueChanges() .subscribe(course…

That post answered almost the exact same question. It is possible that you would have to use newer dependencies at this point since that code is getting very old. What version of Angular have you been using?

---

_[View the full topic](https://forum.codewithmosh.com/t/installing-firebase-angularfire2-unable-to-install/14611)._
