Closed
Description
angularfire2 documentation has the following installation statement.
npm install firebase angularfire2 --save
By default, this installs angularfire2 5.0.0-rc-6.0 and firebase 4.13.1.
When using firebase in a component
import * as firebase from 'firebase';
I get the following error message on ng build/ng serve:
ERROR in node_modules/angularfire2/firebase.app.module.d.ts(10,22): error TS2420: Class 'FirebaseApp' incorrectly implements interface 'FirebaseApp'.
Property 'automaticDataCollectionEnabled' is missing in type 'FirebaseApp'.
SOLUTION: install firebase 4.12.1 - the error message does not show with this version.
Metadata
Metadata
Assignees
Labels
No labels