[Solved] Error: Property 'performance' is missing in type 'FirebaseApp'

(1088 Views)


In this article we will discuss a common issue encountered when using Angular and Firebase. Due to non compatibility of versions sometimes the below mentioned error pops up:

Error:  Property performance is missing in type FirebaseApp
Error:  Property performance is missing in type FirebaseApp

Solution:

An easy solution is not to use any version prefix like ~ or ^. i.e. you need to change the declaration in the package.json of firebase to : “ firebase”: 5.11.0”. After this execute the following commands for the fix to work properly:

>>delete node_modules >>npm cache verify >>npm install

Another alternative fix is to downgrade the version of firebase by using the following commands :

>>npm install --save firebase@5.10.1

Solution Worked 0 UpvotesUpvote

        

Solution Didn't Worked 0 DownvotesDownvote



Comments



Search
Play 2048 Game Online

Search Tags