-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Description
Angular:
6.1.7
Firebase:
5.5.0
AngularFire:
5.0.0
** Errors in the JavaScript console **
TypeError: app.firestore is not a function
at firestore.js:22
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke (zone.js:388)
at Zone.push../node_modules/zone.js/dist/zone.js.Zone.run (zone.js:138)
at NgZone.push../node_modules/@angular/core/fesm5/core.js.NgZone.runOutsideAngular (core.js:3783)
at new AngularFirestore (firestore.js:20)
at _createClass (core.js:8431)
at _createProviderInstance (core.js:8393)
at resolveNgModuleDep (core.js:8356)
at _createClass (core.js:8421)
at _createProviderInstance (core.js:8393)
Expected behavior
Angular application should bootstrap successfully.
Actual behavior
Application does not run at all.
I have tried to clean my npm cache, delete all node modules and re-installing all dependencies with no luck. I should note everything was working fine before I upgraded to firebase 5.5.0 and now even when i revert back to previous version 5.4.2 -> I am still getting this error.
Update: Managed to revert back 5.4.2 successfully.