ERROR in node_modules/angularfire2/firebase.app.module.d.ts(2,42): error TS2305: Module '"project/node_modules/firebase/index"' has no exported member 'functions'
I'm using,
"@angular/cdk": "^6.2.1",
"angularfire2": "^5.0.0-rc.10",
"firebase": "^4.13.1"
There is a problem with "angularfire2": "^5.0.0-rc.10"
The solution is uninstall angularfire2^5.0.0-rc.10
and install angularfire2^5.0.0-rc.9
:
npm uninstall angularfire2
npm install [email protected]
I was also getting the similar errors. It was obviously the version compatibility errors. I tried changing the versions of angularfire2
amd angular
in package.json
but none of them work. Finally I updated the firebase to the latest version using the following command and all the errors vanished in one go. Try out this command:
npm install --save firebase@latest
Try this out: update your firebase
to version ^5.0.3
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