You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error in firebase.app.module.d.ts: Property 'performance' is missing in type 'FirebaseApp' #2059
@angular/fire v5.1.2 seems to doesn't play well with firebase v5.11.0. when these versions are installed I face the following error when I start my (Ionic) app:
[ng] ERROR in node_modules/@angular/fire/firebase.app.module.d.ts(17,22): error TS2420: Class 'FirebaseApp' incorrectly implements interface 'App'.
[ng] Property 'performance' is missing in type 'FirebaseApp'.
Downgrading firebase to v5.10.1 fix the issue. I guess the property 'performance' was added as a mandatory field in the last version of firebase.
Downgrading firebase to v5.10.1 fix the issue too.
ERROR in node_modules/@angular/fire/firebase.app.module.d.ts(17,22): error TS2420: Class 'FirebaseApp' incorrectly implements interface 'App'.
Property 'performance' is missing in type 'FirebaseApp' but required in type 'App'.
@jamesdaniels just noticed that there is no reference in the CHANGELOG about 5.1.3 ... on purpose or should I provide a PR to add a line about it (I guess the version contains only this fix right)?
I need 5.9.2 for firebase.firestore.FieldValue.increment(1). Does anyone have this working with newer versions of firebase?
yes I also need it to use increment(). using npm install --save firebase@5.10.1 fixed the issue and firebase.firestore.FieldValue.increment() working now
Activity
grgdlm commentedon May 1, 2019
Had this as well. Downgrading'll fix it. Cheers
cagcak commentedon May 1, 2019
Downgrading firebase to v5.10.1 fix the issue too.
imanubhardwaj commentedon May 1, 2019
I'm also facing this issue, even used without ^ it stops working. Using it with Angular v7.
"@angular/fire": "^5.1.2",
"firebase": "^5.10.0"
coffeeandcloud commentedon May 1, 2019
It worked for me using
"@angular/fire": "^5.1.1"and"firebase": "5.10.1".Maybe you try that?`
imanubhardwaj commentedon May 1, 2019
Thanks. It worked.
fix(): FirebaseApp Class should not implement app.App
GuilhermeLis commentedon May 1, 2019
I have to change in package.json and use the npm i... it doesn't clear to me
jamesdaniels commentedon May 1, 2019
I just fixed this and cut 5.1.3
peterpeterparker commentedon May 2, 2019
cool thx @jamesdaniels 👍
peterpeterparker commentedon May 8, 2019
@jamesdaniels just noticed that there is no reference in the CHANGELOG about 5.1.3 ... on purpose or should I provide a PR to add a line about it (I guess the version contains only this fix right)?
monitranjan commentedon Jun 19, 2019
how to downgrade the version i am new to it
jbistis commentedon Jun 24, 2019
I need 5.9.2 for firebase.firestore.FieldValue.increment(1). Does anyone have this working with newer versions of firebase?
jbistis commentedon Jun 24, 2019
Working with 5.10.1. thanks..to monitranjan npm install --save firebase@5.10.1
ReaperTech commentedon Aug 28, 2019
yes I also need it to use increment(). using npm install --save firebase@5.10.1 fixed the issue and firebase.firestore.FieldValue.increment() working now
fix(): FirebaseApp Class should not implement app.App (angular#2060)