ERROR in node_modules/@angular/fire/firebase.app.module.d.ts?

后端 未结 2 1576
面向向阳花
面向向阳花 2021-01-12 04:54

I Get this Error after the completion of compiler.I have tried uninstalling and reinstalling the firebase @angular/fire but can\'t get it fixed . I am confused about the err

2条回答
  •  说谎
    说谎 (楼主)
    2021-01-12 05:34

    Not sure why this question got downvoted. @Muhammad Mehdi's concern is valid. I just ran into the same issue.

    This incompatibility issue has been flagged on the official @angular/fire GitHub page here

    The proposed workaround worked for me. In short:

    1. Uninstall your current @angular/fire package (npm uninstall @angular/fire)

    2. Install the latest version in development instead (6.0.4-canary.9a26fbe) with npm i @angular/fire@6.0.4-canary.9a26fbe --save, as per instructions from the Maintainer here

    3. Once version 6.0.4 will be out (not yet as of today), we can switch back to the latest official release. Meanwhile this should keep you going.

提交回复
热议问题