Just started using AngularFire2 v5 seeing the following error about a dozen times when I run the app: Namespace 'firebase' has no exported member 'firestore' in the following .d.ts files:
node_modules/angularfire2/firebase.app.module.d.ts
node_modules/angularfire2/firestore/collection/changes.d.ts
node_modules/angularfire2/firestore/firestore.d.ts
node_modules/angularfire2/firestore/interfaces.d.ts
node_modules/angularfire2/firestore/observable/fromRef.d.ts
I'm on "angularfire2": "^5.0.0-rc.3".
I had the same issue. I was having firebase version 4.4.0 . Then i upgraded to 4.5.0
npm i --save firebase@^4.5.0
Now its working fine for me.
Double check your version of angularfire2. It downgrades to RC0 if you do an npm update, which I've noticed from their issue tracker is cause for a big amount of grief.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With