We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f83f30 commit b179a70Copy full SHA for b179a70
packages/angular/cli/bin/ng
@@ -24,12 +24,15 @@ if (version[0] % 2 === 1 && version[0] > 14) {
24
'Odd numbered Node.js versions will not enter LTS status and should not be used for production.' +
25
' For more information, please see https://nodejs.org/en/about/releases/.',
26
);
27
+
28
+ require('../lib/init');
29
} else if (
30
version[0] < 12 ||
31
version[0] === 13 ||
32
(version[0] === 12 && version[1] < 13) ||
33
(version[0] === 14 && version[1] < 15)
34
) {
35
+ // Error and exit if less than 12.13 or 13.x or less than 14.15
36
console.error(
37
'Node.js version ' +
38
process.version +
0 commit comments