The quickstart's first command fails on npm older than 11.6 (`reading 'edgesOut'`)
Maintainer thường phản hồi trong vòng 3 ngày
Đánh giá
- Độ khó
- 1/5
- Thời gian dự kiến
- Dưới một giờ
- Mức phù hợp với người mới
- 88/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Lĩnh vực
- documentation
Hướng nghiên cứu
Bắt đầu với Bước 1 trong docs/install-and-setup.md và xem xét lệnh npm create @angular@21. Cập nhật bước này với lỗi khi npm cũ hơn 11.6 và cách khôi phục được ghi trong tài liệu: cài đặt npm@11 trên toàn cục, xóa thư mục dự án còn sót lại và chạy lại lệnh. Hoàn thành nghĩa là phần quickstart giải thích cách tạo dự án thành công.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Step 1 of docs/install-and-setup.md creates a project with npm create @angular@21 <project-name>. On npm older than 11.6 that command stops while installing packages:
npm error Cannot read properties of null (reading 'edgesOut')
✖ Package install failed, see above.
This is an npm bug, npm/cli#9787, and it happens before AngularFire is involved. Angular closed its own report of it, angular/angular-cli#34083, as an npm bug. A quickstart reader meets it anyway, because the newest Node.js 20 and 22 releases come with npm 10.
What I ran
A new Angular 21 project, on 2026-10-02:
- npm 10.8.2, 10.9.8, 10.9.9, 11.3.0 and 11.5.2 fail with the error above.
- npm 11.6.0, 11.19.0, 11.21.0 and 12.2.0 install.
- A failed run leaves the project folder behind, and running the command again into it fails with
A merge conflicted on path "/<project-name>/package.json".
Proposed change
One line under step 1 that names the error and says to run npm install -g npm@11, delete the leftover folder, and run the command again.
- 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 11 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
-
`ng update @angular/fire` stops before the v21 migration when it runs Angular CLI 22.3Có thể đã có người làm @armando-navarro đã nhận 1 ngày trước. Đang mởcomp: schematics type: bug version: current (v17+)
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
angular/angularfire#3789 ·
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 39 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
Tất cả issue của angular/angularfire
Issue tương tự
-
[Feature]: [P3] engine-rs: the package source hash should ignore line endings and untracked filesĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
maniator/verticopolis#880 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
siyuan-note/siyuan#20353 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
black-forest-labs/skills#17 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Albert-Weasker/niubigeo#168 ·
Maintainer thường phản hồi trong vòng 1 ngày