angular / angular/angularfire

not installing firebase on angular19

未關閉
#3,612 6 則留言 2 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
TypeScript
星號
7.8k
分支
2.2k
平均合併
22 小時 28 分鐘
30 天內合併 PR
6

描述

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: example@0.0.0
npm error Found: @angular/common@19.1.1
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/fire@18.0.1
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

![Image](https://github.com/user-attachments/assets/926b93eb-6cda-4108-8729-2ab854ffb5d5)

貢獻指南

開啟貢獻指南

研究方向

在 Angular 19 專案中執行 `ng add @angular/fire`,並檢查針對 `@angular/fire` 和 `@angular/common` 回報的 peer dependency 範圍。完成的標準是該命令能在沒有 ERESOLVE 的情況下安裝相容的套件;內容沒有指定任何 repository 檔案或測試,因此請找出控制相容性的 dependency 宣告。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
angular, firebase, typescript
領域
developer-experience, frontend
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
30/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。