Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12111

cant install @angular/fire because of incompatibility issues

$
0
0

so i ran npm outdated and tried to install some outdated things there without knowing what it really does, thinking that i should update them.and this is what i really need. i need to install angular fire and this shows

⠏ Installing packages (npm)...npm ERR! code ERESOLVEnpm ERR! ERESOLVE could not resolvenpm ERR!npm ERR! While resolving: @ionic/angular-server@7.7.4npm ERR! Found: @angular/animations@17.2.1npm ERR! node_modules/@angular/animationsnpm ERR!   @angular/animations@"^17.0.2" from the root projectnpm ERR!   peerOptional @angular/animations@"17.2.1" from @angular/platform-browser@17.2.1  npm ERR!   node_modules/@angular/platform-browsernpm ERR!     @angular/platform-browser@"^17.0.2" from the root projectnpm ERR!     peer @angular/platform-browser@"^17.0.0" from @angular/fire@17.0.1npm ERR!     node_modules/@angular/firenpm ERR!       @angular/fire@"^17.0.1" from the root projectnpm ERR!     3 more (@angular/forms, @angular/platform-browser-dynamic, @angular/router)    npm ERR!npm ERR! Could not resolve dependency:npm ERR! peer @angular/platform-server@">=14.0.0" from @ionic/angular-server@7.7.4npm ERR! node_modules/@ionic/angular-servernpm ERR!   @ionic/angular-server@"^7.7.4" from the root projectnpm ERR!npm ERR! Conflicting peer dependency: @angular/animations@17.2.4npm ERR! node_modules/@angular/animationsnpm ERR!   peer @angular/animations@"17.2.4" from @angular/platform-server@17.2.4npm ERR!   node_modules/@angular/platform-servernpm ERR!     peer @angular/platform-server@">=14.0.0" from @ionic/angular-server@7.7.4      npm ERR!     node_modules/@ionic/angular-servernpm ERR!       @ionic/angular-server@"^7.7.4" from the root projectnpm ERR!npm ERR! Fix the upstream dependency conflict, or retrynpm ERR! this command with --force or --legacy-peer-depsnpm ERR! to accept an incorrect (and potentially broken) dependency resolution.npm ERR!npm ERR!

the angular animations is till not on the wanted version of my project cause when i tried updating it, theres also an compatibility issue


Viewing all articles
Browse latest Browse all 12111

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>