`ng add @angular/fire@canary` installs the release candidate instead of the canary build
Author: armando-navarroCreated Oct 1, 2026Updated Oct 1, 2026
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].
Source: angular/angularfire