cloudflare / cloudflare/stream-angular
Angular 15.X.X
- 主要言語
- TypeScript
- スター
- 13
- フォーク
- 12
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Unable to install the package for Angular 15.X.X
Your environment
```
"@angular/animations": "^15.0.2",
"@angular/common": "^15.0.2",
"@angular/compiler": "^15.0.2",
"@angular/core": "^15.0.2",
"@angular/fire": "^7.5.0",
"@angular/forms": "^15.0.2",
"@angular/platform-browser": "^15.0.2",
"@angular/platform-browser-dynamic": "^15.0.2",
"@angular/router": "^15.0.2",
"@cloudflare/stream-angular": "^1.0.1",
```
### Steps to reproduce
npm install @cloudflare/stream-angular
### Expected behaviour
Library installed
### Actual behaviour
```
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: metacampus-frontend@0.1.1
npm ERR! Found: @angular/common@15.1.3
npm ERR! node_modules/@angular/common
npm ERR! @angular/common@"^15.0.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/common@"^13.2.0" from @cloudflare/stream-angular@1.0.1
npm ERR! node_modules/@cloudflare/stream-angular
npm ERR! @cloudflare/stream-angular@"*" 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! See C:\Users\guill\AppData\Local\npm-cache\eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\guill\AppData\Local\npm-cache\_logs\2023-02-03T18_15_24_759Z-debug.log
```
Using 'npm i @cloudflare/stream-angular --force` installs it and it works without any problem
コントリビューションガイド
調査の方向性
まず Angular 15 で `npm install @cloudflare/stream-angular` を再現し、`@angular/common` への peer dependency を宣言しているパッケージメタデータを確認します。Angular 15 で報告されている依存関係を使用して、`--force` や `--legacy-peer-deps` を必要とせずにパッケージをインストールできれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- angular, typescript
- 領域
- frontend
- issue の種類
- バグ
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 38/100