поэтому я запустил npm outdated и попытался установить туда некоторые устаревшие вещи, не зная, что они на самом деле делают, думая, что мне следует их обновить. и это то, что мне действительно нужно. мне нужно установить angular fire и это видно
⠏ Installing packages (npm)...npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: @ionic/[email protected]
npm ERR! Found: @angular/[email protected]
npm ERR! node_modules/@angular/animations
npm ERR! @angular/animations@"^17.0.2" from the root project
npm ERR! peerOptional @angular/animations@"17.2.1" from @angular/[email protected]
npm ERR! node_modules/@angular/platform-browser
npm ERR! @angular/platform-browser@"^17.0.2" from the root project
npm ERR! peer @angular/platform-browser@"^17.0.0" from @angular/[email protected]
npm ERR! node_modules/@angular/fire
npm ERR! @angular/fire@"^17.0.1" from the root project
npm 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/[email protected]
npm ERR! node_modules/@ionic/angular-server
npm ERR! @ionic/angular-server@"^7.7.4" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: @angular/[email protected]
npm ERR! node_modules/@angular/animations
npm ERR! peer @angular/animations@"17.2.4" from @angular/[email protected]
npm ERR! node_modules/@angular/platform-server
npm ERR! peer @angular/platform-server@">=14.0.0" from @ionic/[email protected]
npm ERR! node_modules/@ionic/angular-server
npm ERR! @ionic/angular-server@"^7.7.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!
угловая анимация до сих пор не соответствует нужной версии моего проекта, потому что, когда я пытался ее обновить, также возникла проблема совместимости
просто бегите с флагом силы.
npm install @angular/fire --force