Title: `ng update @angular/fire` stops before the v21 migration when it runs Angular CLI 22.3 · Issue #3789 · angular/angularfire · GitHub
Open Graph Title: `ng update @angular/fire` stops before the v21 migration when it runs Angular CLI 22.3 · Issue #3789 · angular/angularfire
X Title: `ng update @angular/fire` stops before the v21 migration when it runs Angular CLI 22.3 · Issue #3789 · angular/angularfire
Description: In an Angular 21 app, ng update @angular/fire --next installs 21.0.0-rc.1 and then stops with an error, so the v21 migration never runs. That migration is what moves the app's firebase dependency to ^12, among other changes. Installing a...
Open Graph Description: In an Angular 21 app, ng update @angular/fire --next installs 21.0.0-rc.1 and then stops with an error, so the v21 migration never runs. That migration is what moves the app's firebase dependency t...
X Description: In an Angular 21 app, ng update @angular/fire --next installs 21.0.0-rc.1 and then stops with an error, so the v21 migration never runs. That migration is what moves the app's firebase dependen...
Opengraph URL: https://github.com/angular/angularfire/issues/3789
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`ng update @angular/fire` stops before the v21 migration when it runs Angular CLI 22.3","articleBody":"In an Angular 21 app, `ng update @angular/fire --next` installs `21.0.0-rc.1` and then stops with an error, so the v21 migration never runs. That migration is what moves the app's `firebase` dependency to `^12`, among other changes.\n\n```\nInstalling a temporary Angular CLI versioned next to perform the update.\n...\nUpdating package.json with dependency @angular/fire to version 21.0.0-rc.1...\nAn unhandled exception occurred: Package subpath './tasks/index.js' is not defined by \"exports\" in .../node_modules/@angular-devkit/schematics/package.json\n```\n\n### Details\n\n- `ng update` without a version on the Angular packages runs a temporary copy of the newest Angular CLI. With `--next` that is 22.3.0-next.0 today.\n- `@angular-devkit/schematics` 22.3.0-next.0 adds an `exports` map that lists `./tasks` but not `./tasks/index.js`. 22.2.1 and 21.2.25 have no `exports` map.\n- Three of AngularFire's schematic bundles require `@angular-devkit/schematics/tasks/index.js`: `setup/index.js`, `deploy/builder.js` and `update/v21/index.js`. Loaded with 22.3.0-next.0, each fails with `ERR_PACKAGE_PATH_NOT_EXPORTED`.\n- Angular CLI's own `ng update --next` listing suggests running `ng update @angular/fire --next`.\n- Plain `ng update @angular/fire` also runs the newest CLI, so it will fail the same way once Angular CLI 22.3 is published as `latest`.\n\n### Workaround\n\nName the version, for example `ng update @angular/fire@21.0.0-rc.1`. That form runs the project's own Angular CLI, and the migration runs.\n","author":{"url":"https://github.com/armando-navarro","@type":"Person","name":"armando-navarro"},"datePublished":"2026-10-08T00:06:31Z","url":"https://github.com/angular/angularfire/issues/3789"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5c27d24c-060f-5f82-f453-45f28c37f924 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9E86:DDFD6:1959B42:2042863:6B03B6FC |
| html-safe-nonce | 4a75168cf2fb94f5ce4ab7b07ff96ed5aa3dca8f56df750c1c0a6a6190f826f0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RTg2OkRERkQ2OjE5NTlCNDI6MjA0Mjg2Mzo2QjAzQjZGQyIsInZpc2l0b3JfaWQiOiIyODk4MjYxNzg3MzE1MjU1MDM2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | f8d9a29d9cf8f43beb56fa482e635a820c624ca8438095e9c61fa288b84396ae |
| hovercard-subject-tag | issue:5753664748 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angularfire/3789/issue_layout |
| twitter:image | https://opengraph.githubassets.com/afb021c401d2f8ae39cbb5f27c4acee85aeeb90b9bd76f989c695d59688ea5eb/angular/angularfire/issues/3789 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/afb021c401d2f8ae39cbb5f27c4acee85aeeb90b9bd76f989c695d59688ea5eb/angular/angularfire/issues/3789 |
| og:image:alt | In an Angular 21 app, ng update @angular/fire --next installs 21.0.0-rc.1 and then stops with an error, so the v21 migration never runs. That migration is what moves the app's firebase dependency t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | armando-navarro |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angularfire git https://github.com/angular/angularfire.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 49453413 |
| octolytics-dimension-repository_nwo | angular/angularfire |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49453413 |
| octolytics-dimension-repository_network_root_nwo | angular/angularfire |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width