Unable to install @ionic-native/firebase@4

i’m facing this error when i try to install @ionic-native/firebase@4.

npm install --save @ionic-native/firebase@4
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: essyndic@undefined
npm ERR! Found: rxjs@6.6.7
npm ERR! node_modules/rxjs
npm ERR!   rxjs@"^6.6.7" from the root project
npm ERR!   peer rxjs@"^6.0.0" from @angular/core@6.1.10
npm ERR!   node_modules/@angular/core
npm ERR!     @angular/core@"^6.1.10" from the root project
npm ERR!     peer @angular/core@"*" from @ionic-native/firebase@4.20.0
npm ERR!     node_modules/@ionic-native/firebase
npm ERR!       @ionic-native/firebase@"4" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer rxjs@"^5.5.11" from @ionic-native/core@4.20.0
npm ERR! node_modules/@ionic-native/core
npm ERR!   @ionic-native/core@"^4.20.0" from the root project
npm ERR!   peer @ionic-native/core@"^4.11.0" from @ionic-native/firebase@4.20.0
npm ERR!   node_modules/@ionic-native/firebase
npm ERR!     @ionic-native/firebase@"4" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See C:\Users\Asus\AppData\Local\npm-cache\eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Asus\AppData\Local\npm-cache\_logs\2023-01-13T18_29_18_807Z-debug-0.log

what’s wrong ? how can i solve it?

All @ionic-native/* packages were moved to @awesome-cordova-plugins/*.

1 Like