`ng add @angular/fire@canary` installs the release candidate instead of the canary build
Les mainteneurs répondent en général sous 3 jours
Une pull request liée a déjà été fusionnée.
- #3780 par @armando-navarro — fusionnée
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 55/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- angular, firebase, typescript
Piste de recherche
Start by reproducing ng add @angular/fire@canary and comparing it with npm install @angular/fire@canary; trace how the ng add setup resolves the dist-tag and saves the dependency. Done means the command installs the canary build and preserves a version constraint that does not later resolve to the release candidate or stable release.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
ng add @angular/fire@canary looks up the canary tag, then installs and saves the range ^<that version>, and npm installs the highest version in that range. Since #3767 every canary is named 21.0.0-canary.*, which ranks below 21.0.0-rc.1, so the command installs the release candidate. The ng add setup step then saves 21.0.0-rc.1 as an exact version.
Details
- Today:
ng add @angular/fire@canaryon an Angular 21 app installs21.0.0-rc.1and saves it exactly. - After
21.0.0ships: canaries are still named21.0.0-canary.*, which rank below21.0.0, so the same command installs21.0.0. npm install @angular/fire@canaryinstalls the canary but saves^<canary>, so a later install without the lockfile moves to the release candidate.
Workaround
Pass the exact canary version, from npm view @angular/fire@canary version, to ng add, for example ng add @angular/[email protected].
- Langage dominant
- TypeScript
- Étoiles
- 7.8k
- Forks
- 2.2k
- Merge moyen
- 2 j 14 h
- PR mergées (30 j)
- 19
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de angular/angularfire
-
Use `TransferState` to hand server-rendered Firestore data to the browser, instead of reading every document twicePeut-être à nouveau libre @armando-navarro l’a pris il y a 42 jours, et aucune pull request n’est ouverte. Ouvertecomp: firestore comp: ssr priority: P0 (critical) type: feature version: current (v17+)
angular/angularfire#3757 · 1 personne assignée ·
Les mainteneurs répondent en général sous 3 jours
-
Six `firebase` entry points have no `@angular/fire` equivalent, so their exports are unreachablePeut-être à nouveau libre @armando-navarro l’a pris il y a 42 jours, et aucune pull request n’est ouverte. Ouvertecomp: core type: feature
angular/angularfire#3755 · 1 personne assignée ·
Les mainteneurs répondent en général sous 3 jours
-
Angular 22 release pleaseOuverte
Difficulté 4/5 3-5 jours Accessibilité débutants 35/100
angular/angularfire#3737 · 2 commentaires · 24 réactions ·
Les mainteneurs répondent en général sous 3 jours
-
Difficulté 4/5 3-5 jours Accessibilité débutants 52/100
angular/angularfire#3715 ·
Les mainteneurs répondent en général sous 3 jours
-
comp: build/pipeline type: RFC / discussion / question
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
angular/angularfire#3699 · 17 commentaires · 4 réactions ·
Les mainteneurs répondent en général sous 3 jours
Toutes les issues de angular/angularfire
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 77/100
apache/rocketmq-dashboard#6610 ·
Les mainteneurs répondent en général sous 3 jours
-
nextjs-tracking
Difficulté 2/5 1-3 heures Accessibilité débutants 69/100
cloudflare/vinext#3920 ·
Les mainteneurs répondent en général sous 1 jour
-
Team:Dashboards
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
elastic/kibana#297299 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
analytics beginner friendly community contributions-welcome good first issue hacktoberfest help wanted up-for-grabs
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
Les mainteneurs répondent en général sous 1 jour
-
affected/v17 affected/v18 area/frontend type/bug
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
umbraco/Umbraco-CMS#24186 ·
Les mainteneurs répondent en général sous 2 jours