#Angular fire is not installing with 19v

5 messages · Page 1 of 1 (latest)

upbeat lily
#

D:\Angular-18\practice>ng add @angular/fire --force
√ 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\i mac\AppData\Local\npm-cache_logs\2025-01-07T10_24_23_621Z-eresolve-report.txt
npm error A complete log of this run can be found in: C:\Users\i mac\AppData\Local\npm-cache_logs\2025-01-07T10_24_23_621Z-debug-0.log

glad prism
upbeat lily
#

D:\Angular-18\practice>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\i mac\AppData\Local\npm-cache_logs\2025-01-07T10_56_58_037Z-eresolve-report.txt
npm error A complete log of this run can be found in: C:\Users\i mac\AppData\Local\npm-cache_logs\2025-01-07T10_56_58_037Z-debug-0.log

#

Is the correct way to add angular fire in a fresh angular 19v

upbeat lily