File tree 2 files changed +17
-3
lines changed
2 files changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -66,14 +66,20 @@ $ yarn install
66
66
67
67
``` bash
68
68
# dev server with hot reload at http://localhost:3000
69
- $ npm start
69
+ $ npm start
70
+
71
+ # if you use Node 17+ use this command instead of `npm start`
72
+ $ npm run start:n17
70
73
```
71
74
72
75
or
73
76
74
77
``` bash
75
78
# dev server with hot reload at http://localhost:3000
76
79
$ yarn start
80
+
81
+ # if you use Node 17+ use this command instead of `yarn start`
82
+ $ yarn start:n17
77
83
```
78
84
79
85
Navigate to [ http://localhost:3000 ] ( http://localhost:3000 ) . The app will automatically reload if you change any of the source files.
@@ -85,13 +91,19 @@ Run `build` to build the project. The build artifacts will be stored in the `bui
85
91
``` bash
86
92
# build for production with minification
87
93
$ npm run build
94
+
95
+ # if you use Node 17+ use this command instead of `build run build`
96
+ $ npm run build:n17
88
97
```
89
98
90
99
or
91
100
92
101
``` bash
93
102
# build for production with minification
94
103
$ yarn build
104
+
105
+ # if you use Node 17+ use this command instead of `yarn build`
106
+ $ yarn build:n17
95
107
```
96
108
97
109
## What's included
Original file line number Diff line number Diff line change 13
13
"license" : " MIT" ,
14
14
"author" : " The CoreUI Team (https://github.com/orgs/coreui/people)" ,
15
15
"scripts" : {
16
- "build" : " react-scripts --openssl-legacy-provider build" ,
16
+ "build" : " react-scripts build" ,
17
+ "build:n17" : " react-scripts --openssl-legacy-provider build" ,
17
18
"changelog" : " auto-changelog --starting-version 4.1.0 --commit-limit false --hide-credit" ,
18
19
"eject" : " react-scripts eject" ,
19
20
"lint" : " eslint \" src/**/*.js\" " ,
20
- "start" : " react-scripts --openssl-legacy-provider start" ,
21
+ "start" : " react-scripts start" ,
22
+ "start:n17" : " react-scripts --openssl-legacy-provider start" ,
21
23
"test" : " react-scripts test" ,
22
24
"test:cov" : " npm test -- --coverage --watchAll=false" ,
23
25
"test:debug" : " react-scripts --inspect-brk test --runInBand"
You can’t perform that action at this time.
0 commit comments