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
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
.