File tree Expand file tree Collapse file tree 2 files changed +17
-3
lines changed Expand file tree Collapse file tree 2 files changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -66,14 +66,20 @@ $ yarn install
6666
6767``` bash
6868# 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
7073```
7174
7275or
7376
7477``` bash
7578# dev server with hot reload at http://localhost:3000
7679$ yarn start
80+
81+ # if you use Node 17+ use this command instead of `yarn start`
82+ $ yarn start:n17
7783```
7884
7985Navigate 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
8591``` bash
8692# build for production with minification
8793$ npm run build
94+
95+ # if you use Node 17+ use this command instead of `build run build`
96+ $ npm run build:n17
8897```
8998
9099or
91100
92101``` bash
93102# build for production with minification
94103$ yarn build
104+
105+ # if you use Node 17+ use this command instead of `yarn build`
106+ $ yarn build:n17
95107```
96108
97109## What's included
Original file line number Diff line number Diff line change 1313 "license" : " MIT" ,
1414 "author" : " The CoreUI Team (https://github.com/orgs/coreui/people)" ,
1515 "scripts" : {
16- "build" : " react-scripts --openssl-legacy-provider build" ,
16+ "build" : " react-scripts build" ,
17+ "build:n17" : " react-scripts --openssl-legacy-provider build" ,
1718 "changelog" : " auto-changelog --starting-version 4.1.0 --commit-limit false --hide-credit" ,
1819 "eject" : " react-scripts eject" ,
1920 "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" ,
2123 "test" : " react-scripts test" ,
2224 "test:cov" : " npm test -- --coverage --watchAll=false" ,
2325 "test:debug" : " react-scripts --inspect-brk test --runInBand"
You can’t perform that action at this time.
0 commit comments