Description
ng add @angular/fire
✔ Determining Package Manager
› Using package manager: npm
✔ Searching for compatible package version
› Unable to find compatible package. Using 'latest' tag.
✔ Loading package information from registry
› ⚠ Package has unmet peer dependencies. Adding the package may not succeed.
✔ Confirming installation
✖ Unable to install package
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: @angular/[email protected]
npm error node_modules/@angular/common
npm error @angular/common@"^19.0.0" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @angular/common@"^18.0.0" from @angular/[email protected]
npm error node_modules/@angular/fire
npm error @angular/fire@"18.0.1" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error C:\Users\pavan\AppData\Local\npm-cache_logs\2025-01-16T15_41_21_682Z-eresolve-report.txt
npm error A complete log of this run can be found in: C:\Users\pavan\AppData\Local\npm-cache_logs\2025-01-16T15_41_21_682Z-debug-0.log