cloudflare / cloudflare/stream-angular
Angular 15.X.X
- Lingua principale
- TypeScript
- Stelle
- 13
- Fork
- 12
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Start by reproducing `npm install @cloudflare/stream-angular` with Angular 15 and inspect the package metadata that declares its peer dependency on `@angular/common`. Done means the package installs with the reported Angular 15 dependencies without requiring `--force` or `--legacy-peer-deps`.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- angular, typescript
- Ambito
- frontend
- Tipo di issue
- Bug
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 38/100