We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63d542c commit 39cbffcCopy full SHA for 39cbffc
1 file changed
packages/angular/cli/bin/ng.js
@@ -55,13 +55,17 @@ if (version[0] % 2 === 1) {
55
);
56
57
require('./bootstrap');
58
-} else if (version[0] < 20 || (version[0] === 20 && version[1] < 11)) {
59
- // Error and exit if less than 20.11
+} else if (
+ version[0] < 20 ||
60
+ (version[0] === 20 && version[1] < 19) ||
61
+ (version[0] === 22 && version[1] < 12)
62
+) {
63
+ // Error and exit if less than 20.19 or 22.12
64
console.error(
65
'Node.js version ' +
66
process.version +
67
' detected.\n' +
- 'The Angular CLI requires a minimum Node.js version of v20.11.\n\n' +
68
+ 'The Angular CLI requires a minimum Node.js version of v20.19 or v22.12.\n\n' +
69
'Please update your Node.js version or visit https://nodejs.org/ for additional instructions.\n',
70
71
0 commit comments