angular / angular/angularfire

not installing firebase on angular19

オープン
#3,612 コメント 6 件 リアクション 2 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
7.8k
フォーク
2.2k
平均マージ
22時間 28分
マージ済み PR(30日)
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 なしで互換性のあるパッケージをインストールすることです。ペイロードにはリポジトリのファイル名やテストが記載されていないため、互換性を制御している依存関係の宣言を特定してください。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
angular, firebase, typescript
領域
developer-experience, frontend
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
30/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。