edit: since we are talking v22 of two different things, I am going to over-clarify lol
Angular's next major version, Angular 22.0.0, comes out next week. Angular 22.0.0's CLI requires a version of node which is higher than the StackBlitz Starter projects seem to support (Node 22.22.0).
Reference project that this error was thrown in. The project uses a pre-release Angular 22.0.0 version (Angular 22.0.0-rc.2). The following block is the CLI output about this node version limitation:
> start
> ng serve
Node.js version v22.22.0 detected.
The Angular CLI requires a minimum Node.js version of v22.22.3 or v24.15.0 or v26.0.0.
Please update your Node.js version or visit https://nodejs.org/ for additional instructions.
For comparison, here is a reference project for an Angular 21.1.0 project, which works as intended: https://stackblitz.com/edit/stackblitz-starters-mgpchdjd?file=package.json
Other starters seem to also use this node version, and I have tried things like setting the "node" engine in the package.json to no avail.
Support for even Node 22.22.3 from the current Node 22.22.0 would be much appreciated.
edit: since we are talking v22 of two different things, I am going to over-clarify lol
Angular's next major version, Angular 22.0.0, comes out next week. Angular 22.0.0's CLI requires a version of node which is higher than the StackBlitz Starter projects seem to support (Node 22.22.0).
Reference project that this error was thrown in. The project uses a pre-release Angular 22.0.0 version (Angular 22.0.0-rc.2). The following block is the CLI output about this node version limitation:
For comparison, here is a reference project for an Angular 21.1.0 project, which works as intended: https://stackblitz.com/edit/stackblitz-starters-mgpchdjd?file=package.json
Other starters seem to also use this node version, and I have tried things like setting the
"node"engine in thepackage.jsonto no avail.Support for even Node 22.22.3 from the current Node 22.22.0 would be much appreciated.