ERROR in The target entry-point "@angular/fire" has missing dependencies: [ng] - firebase/appが発生した時の対処


エラー

 ERROR in The target entry-point "@angular/fire" has missing dependencies:
[ng]  - firebase/app

解決

npm uninstall angularfire2
npm i @angular/fire
npm i firebase
環境

MacOS catalina
ionic5
Angular