Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

The quickstart's first command fails on npm older than 11.6 (`reading 'edgesOut'`)

クローズ 初心者向け
#3,785 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 3 日以内に返信

@armando-navarro がすでに取り組んでいます。

2026年10月2日 から。

  • #3787 @armando-navarro による — オープン

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
88/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
angular, node.js
領域
documentation

調査の方向性

docs/install-and-setup.md の Step 1 から始め、npm create @angular@21 コマンドを確認します。npm 11.6 未満で発生するエラーと、文書化された復旧方法を Step に追加します。npm@11 をグローバルにインストールし、残ったプロジェクトフォルダーを削除して、コマンドを再度実行します。クイックスタートでプロジェクトの作成を正常に完了する方法が説明されていれば完了です。

索引モデルが issue の本文から書いたものです。

説明

comp: docs type: chore version: current (v17+)

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.

主要言語
TypeScript
スター
7.8k
フォーク
2.2k
平均マージ
3日 2時間
マージ済み PR(30日)
13

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

angular/angularfire のほかの issue

angular/angularfire の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。