Angularfire and FirebaseListObservable has no exported member angularfire2 using ionic 2 app

As of AngularFire 2.0.4 and above FirebaseListObservable and FirebaseObjectObservable are now called AngularFireList and AngularFireObject.

Example:

import { AngularFireDatabase, AngularFireObject } from 'angularfire2/database';

Ashish Jha, You're right, as the new update uses AngularFirestore and it uses a simple Observable instead of FirebaseListObservable I wasn't able to import FirebaseListObservable and was struggling to do a push(). Changing

import {AngularFire, FirebaseListObservable} from 'angularfire2'; 

to

import { AngularFireDatabase, FirebaseListObservable } from "angularfire2/database-deprecated";

worked fine for me, thank you!


The solution is to simply change this line

import {AngularFire, FirebaseListObservable} from 'angularfire2'; 

to

import { AngularFireDatabase, FirebaseListObservable } from "angularfire2/database"; 

*REFRENCE