angularfire2-offline
angularfire2-offline copied to clipboard
Namespace 'firebase' has no exported member 'Promise'.
i got this error
ERROR in node_modules/angularfire2-offline/database/angularfire2-interfaces.d.ts(4,32): error TS2694: Namespace 'firebase' has no exported member 'Promise'. node_modules/angularfire2-offline/database/angularfire2-interfaces.d.ts(5,35): error TS2694: Namespace 'firebase' has no exported member 'Promise'. node_modules/angularfire2-offline/database/angularfire2-interfaces.d.ts(6,35): error TS2694: Namespace 'firebase' has no exported member 'Promise'. node_modules/angularfire2-offline/database/angularfire2-interfaces.d.ts(7,44): error TS2694: Namespace 'firebase' has no exported member 'Promise'. node_modules/angularfire2-offline/database/object/afo-object-observable.d.ts(53,24): error TS2694: Namespace 'firebase' has no exported member 'Promise'. node_modules/angularfire2-offline/database/object/afo-object-observable.d.ts(63,31): error TS2694: Namespace 'firebase' has no exported member 'Promise'.
I also have this problem. Please merge pull-requests where these are fixed.
HI! I'm with same problem, you find any solution @MayGo or @PgPedroGabriel?
I had this problem with the version of AngularFire2 ^5.0.0-rc.4 but with the version of example 4.0.0-rc.0 works!
I made a choice to use firestore instead of firebase. Firestore has caching/offline support built in.
@MayGo But would't that require you moving the whole data stored on the realtime DB down to firestore DB?
@vixson yes.
Damn that is a gonna be stressful. please is there a way to move the data automatically on firebase
I have this issue too... Any known version working with [email protected] ?
I have this issue too... Any known version working with [email protected] ?
Facing the same problem here. seriously @PgPedroGabriel, @sdanieljose, @MayGo, @kevinrodriguez-io, unfortunately, you would have to stick with the old angularfire2 version 40.0.-rc.0. That is if you want to still use the firebase realtime.
In the end It was easier for me to switch to firestore. Will keep using firestore in the future for all of my projects.