Which @angular/* package(s) are the source of the bug?
compiler-cli
Is this a regression?
Yes
Description
The simplest bug to reproduce. Get the latest Angular version (22.1.8), run:
ng new myapp
select all default options, the error in the end is:
npm error Cannot read properties of null (reading 'edgesOut')
...
✖ Package install failed, see above.
The Schematic workflow failed. See above.
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
✔ Which stylesheet system would you like to use? CSS [ https://developer.mozilla.org/docs/Web/CSS ]
✔ Do you want to enable Server-Side Rendering (SSR) and Static Site Generation (SSG/Prerendering)? No
✔ Which AI tools should Angular integrate with? https://angular.dev/ai/develop-with-ai None
CREATE ng22/.prettierrc (173 bytes)
CREATE ng22/angular.json (1970 bytes)
CREATE ng22/package.json (779 bytes)
CREATE ng22/README.md (1516 bytes)
CREATE ng22/tsconfig.json (939 bytes)
CREATE ng22/.editorconfig (331 bytes)
CREATE ng22/.gitignore (666 bytes)
CREATE ng22/tsconfig.app.json (412 bytes)
CREATE ng22/tsconfig.spec.json (423 bytes)
CREATE ng22/.vscode/extensions.json (134 bytes)
CREATE ng22/.vscode/launch.json (490 bytes)
CREATE ng22/.vscode/tasks.json (1020 bytes)
CREATE ng22/src/main.ts (228 bytes)
CREATE ng22/src/index.html (303 bytes)
CREATE ng22/src/styles.css (81 bytes)
CREATE ng22/src/app/app.spec.ts (702 bytes)
CREATE ng22/src/app/app.ts (299 bytes)
CREATE ng22/src/app/app.css (0 bytes)
CREATE ng22/src/app/app.html (20488 bytes)
CREATE ng22/src/app/app.config.ts (322 bytes)
CREATE ng22/src/app/app.routes.ts (80 bytes)
CREATE ng22/public/favicon.ico (15086 bytes)
npm error Cannot read properties of null (reading 'edgesOut')
npm error A complete log of this run can be found in: C:\Dev\_User\.npm-cache\_logs\2026-09-10T17_56_59_439Z-debug-0.log
✖ Package install failed, see above.
The Schematic workflow failed. See above.
Please provide the environment you discovered this bug in (run ng version)
Angular CLI : 22.1.8
Node.js : 22.23.2
Package Manager : npm 10.9.8
Operating System : win32 x64
Anything else?
No response
Which @angular/* package(s) are the source of the bug?
compiler-cli
Is this a regression?
Yes
Description
The simplest bug to reproduce. Get the latest Angular version (22.1.8), run:
ng new myappselect all default options, the error in the end is:
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
Please provide the environment you discovered this bug in (run
ng version)Anything else?
No response