ERROR in Error: Metadata version mismatch for module ../node_modules/angularfire2/index.d.ts, found version 4, expected 3,

前端 未结 1 1145
遥遥无期
遥遥无期 2021-02-08 17:08

ERROR in Error: Metadata version mismatch for module C:/projects/youtube-angular/firestore-app/node_modules/angularfire2/index.d.ts, found version 4, expected 3,

I have

相关标签:
1条回答
  • 2021-02-08 17:32

    I faced the same problem but solved it by changing the release candidate on angularfire2 back to 3 like "angularfire2": "^5.0.0-rc.3" from "angularfire2": "^5.0.0-rc.4" in your package.json file. then delete node modules and run npm i or npm install.

    Or you can unintall angularfire2 make sure you also remove it from your package.json and package.json.lock files. reinstall it and specify the release candidate like npm install angularfire2@5.0.0-rc.3 --save.

    0 讨论(0)
提交回复
热议问题