`ng update @angular/fire` stops before the v21 migration when it runs Angular CLI 22.3
Maintainer thường phản hồi trong vòng 3 ngày
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- angular, firebase, typescript
- Lĩnh vực
- developer-experience, tooling
Hướng nghiên cứu
Read the three affected bundles named in the issue: setup/index.js, deploy/builder.js, and update/v21/index.js. Compare their @angular-devkit/schematics/tasks/index.js usage with the 22.3.0-next.0 exports map. Done means ng update @angular/fire --next can load the v21 migration and complete without ERR_PACKAGE_PATH_NOT_EXPORTED; note that linked pull request #3793 is already open.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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 temporary Angular CLI versioned next to perform the update.
...
Updating package.json with dependency @angular/fire to version 21.0.0-rc.1...
An unhandled exception occurred: Package subpath './tasks/index.js' is not defined by "exports" in .../node_modules/@angular-devkit/schematics/package.json
Details
ng updatewithout a version on the Angular packages runs a temporary copy of the newest Angular CLI. With--nextthat is 22.3.0-next.0 today.@angular-devkit/schematics22.3.0-next.0 adds anexportsmap that lists./tasksbut not./tasks/index.js. 22.2.1 and 21.2.25 have noexportsmap.- Three of AngularFire's schematic bundles require
@angular-devkit/schematics/tasks/index.js:setup/index.js,deploy/builder.jsandupdate/v21/index.js. Loaded with 22.3.0-next.0, each fails withERR_PACKAGE_PATH_NOT_EXPORTED. - Angular CLI's own
ng update --nextlisting suggests runningng update @angular/fire --next. - Plain
ng update @angular/firealso runs the newest CLI, so it will fail the same way once Angular CLI 22.3 is published aslatest.
Workaround
Name the version, for example ng update @angular/[email protected]. That form runs the project's own Angular CLI, and the migration runs.
- Ngôn ngữ chính
- TypeScript
- Star
- 7.8k
- Fork
- 2.2k
- Merge trung bình
- 3 ngày 2 giờ
- Pull request đã merge (30 ngày)
- 13
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của angular/angularfire
-
A 20.x release after 21.0.0 would move `latest` back to 20.x, and `next` stays on the release candidateCó thể đã có người làm @armando-navarro đã nhận 1 ngày trước. Đang mởcomp: build/pipeline type: bug version: current (v17+)
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
angular/angularfire#3790 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
docs: the App Check guide does not cover server-side renderingCó thể đã có người làm @armando-navarro đã nhận 10 ngày trước. Đang mởcomp: app-check comp: docs comp: ssr type: chore version: current (v17+)
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
angular/angularfire#3774 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
A canary published right after another can read a stale `canary` tagCó thể đã có người làm @armando-navarro đã nhận 1 ngày trước. Đang mởcomp: build/pipeline type: bug version: current (v17+)
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 65/100
angular/angularfire#3791 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Use `TransferState` to hand server-rendered Firestore data to the browser, instead of reading every document twiceCó thể làm lại được @armando-navarro đã nhận 38 ngày trước và không có pull request nào đang mở. Đang mởcomp: firestore comp: ssr priority: P0 (critical) type: feature version: current (v17+)
angular/angularfire#3757 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Six `firebase` entry points have no `@angular/fire` equivalent, so their exports are unreachableCó thể làm lại được @armando-navarro đã nhận 38 ngày trước và không có pull request nào đang mở. Đang mởcomp: core type: feature
angular/angularfire#3755 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 3 ngày
Tất cả issue của angular/angularfire
Issue tương tự
-
bug(sight): the dashboard's text truncations split surrogate pairs and show broken charactersĐang mởcomponent:sight
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
agentic-os-org/ANOLISA#6738 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug Durable Agents Observability (AI Telemetry) status: needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
mastra-ai/mastra#26470 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
paperclipai/paperclip#15630 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[good first issue, hacktoberfest] ⛩️ Add new Theme: Sakura Latte (good-first-issue)Có thể đã có người làm @PGrayCS đã nhận hôm nay. Đang mởcommunity first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 78/100
lingdojo/kana-dojo#31937 · 1 bình luận · 5 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
feature/cohorts feature/feature-flags team/feature-flags
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày