File tree Expand file tree Collapse file tree 6 files changed +9
-9
lines changed Expand file tree Collapse file tree 6 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ To get started locally, follow these instructions:
49
49
50
50
1 . If you haven't done it already, [ make a fork of this repo] ( https://github.com/angular/angular-cli/fork ) .
51
51
1 . Clone to your local computer using ` git ` .
52
- 1 . Make sure that you have Node 10.13 or later installed. See instructions [ here] ( https://nodejs.org/en/download/ ) .
52
+ 1 . Make sure that you have Node 12.14 or 14.0 installed. See instructions [ here] ( https://nodejs.org/en/download/ ) .
53
53
1 . Make sure that you have ` yarn ` installed; see instructions [ here] ( https://yarnpkg.com/lang/en/docs/install/ ) .
54
54
1 . Run ` yarn ` (no arguments) from the root of your clone of this project to install dependencies.
55
55
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ function loadPackageJson(p: string) {
88
88
// Overwrite engines to a common default.
89
89
case 'engines' :
90
90
pkg [ 'engines' ] = {
91
- 'node' : '>= 12.13 .0' ,
91
+ 'node' : '^ 12.14.1 || ^14.0 .0' ,
92
92
'npm' : '^6.11.0 || ^7.5.6' ,
93
93
'yarn' : '>= 1.13.0' ,
94
94
} ;
Original file line number Diff line number Diff line change 41
41
"url" : " https://github.com/angular/angular-cli.git"
42
42
},
43
43
"engines" : {
44
- "node" : " >= 12.13.0 <15 .0.0" ,
44
+ "node" : " ^ 12.14.1 || ^14 .0.0" ,
45
45
"yarn" : " >=1.21.1 <2" ,
46
46
"npm" : " Please use yarn instead of NPM to install dependencies"
47
47
},
Original file line number Diff line number Diff line change @@ -29,15 +29,15 @@ if (version[0] % 2 === 1 && version[0] > 14) {
29
29
} else if (
30
30
version [ 0 ] < 12 ||
31
31
version [ 0 ] === 13 ||
32
- ( version [ 0 ] === 12 && version [ 1 ] < 13 ) ||
32
+ ( version [ 0 ] === 12 && version [ 1 ] < 14 ) ||
33
33
( version [ 0 ] === 14 && version [ 1 ] < 15 )
34
34
) {
35
- // Error and exit if less than 12.13 or 13.x or less than 14.15
35
+ // Error and exit if less than 12.14 or 13.x or less than 14.15
36
36
console . error (
37
37
'Node.js version ' +
38
38
process . version +
39
39
' detected.\n' +
40
- 'The Angular CLI requires a minimum Node.js version of either v12.13 or v14.15.\n\n' +
40
+ 'The Angular CLI requires a minimum Node.js version of either v12.14 or v14.15.\n\n' +
41
41
'Please update your Node.js version or visit https://nodejs.org/ for additional instructions.\n' ,
42
42
) ;
43
43
Original file line number Diff line number Diff line change @@ -26,10 +26,10 @@ const isDebug =
26
26
export default async function ( options : { testing ?: boolean ; cliArgs : string [ ] } ) {
27
27
// This node version check ensures that the requirements of the project instance of the CLI are met
28
28
const version = process . versions . node . split ( '.' ) . map ( part => Number ( part ) ) ;
29
- if ( version [ 0 ] < 10 || version [ 0 ] === 11 || ( version [ 0 ] === 10 && version [ 1 ] < 13 ) ) {
29
+ if ( version [ 0 ] < 12 || ( version [ 0 ] === 12 && version [ 1 ] < 14 ) ) {
30
30
process . stderr . write (
31
31
`Node.js version ${ process . version } detected.\n` +
32
- 'The Angular CLI requires a minimum Node.js version of either v10.13 or v12.0 .\n\n' +
32
+ 'The Angular CLI requires a minimum v12.14 .\n\n' +
33
33
'Please update your Node.js version or visit https://nodejs.org/ for additional instructions.\n' ,
34
34
) ;
35
35
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ To get started locally, follow these instructions:
57
57
58
58
1. If you haven't done it already, [make a fork of this repo](https://github.com/angular/angular-cli/fork).
59
59
1. Clone to your local computer using `git`.
60
- 1. Make sure that you have Node 10.13 or later installed. See instructions [here](https://nodejs.org/en/download/).
60
+ 1. Make sure that you have Node 12.14 or 14.0 installed. See instructions [here](https://nodejs.org/en/download/).
61
61
1. Make sure that you have `yarn` installed; see instructions [here](https://yarnpkg.com/lang/en/docs/install/).
62
62
1. Run `yarn` (no arguments) from the root of your clone of this project to install dependencies.
63
63
You can’t perform that action at this time.
0 commit comments