fix: Node 17 openssl issue
This commit is contained in:
parent
d732633eaa
commit
a4f354c7e1
14
README.md
14
README.md
@ -66,7 +66,10 @@ $ yarn install
|
||||
|
||||
``` bash
|
||||
# dev server with hot reload at http://localhost:3000
|
||||
$ npm start
|
||||
$ npm start
|
||||
|
||||
# if you use Node 17+ use this command instead of `npm start`
|
||||
$ npm run start:n17
|
||||
```
|
||||
|
||||
or
|
||||
@ -74,6 +77,9 @@ or
|
||||
``` bash
|
||||
# dev server with hot reload at http://localhost:3000
|
||||
$ yarn start
|
||||
|
||||
# if you use Node 17+ use this command instead of `yarn start`
|
||||
$ yarn start:n17
|
||||
```
|
||||
|
||||
Navigate to [http://localhost:3000](http://localhost:3000). The app will automatically reload if you change any of the source files.
|
||||
@ -85,6 +91,9 @@ Run `build` to build the project. The build artifacts will be stored in the `bui
|
||||
```bash
|
||||
# build for production with minification
|
||||
$ npm run build
|
||||
|
||||
# if you use Node 17+ use this command instead of `build run build`
|
||||
$ npm run build:n17
|
||||
```
|
||||
|
||||
or
|
||||
@ -92,6 +101,9 @@ or
|
||||
```bash
|
||||
# build for production with minification
|
||||
$ yarn build
|
||||
|
||||
# if you use Node 17+ use this command instead of `yarn build`
|
||||
$ yarn build:n17
|
||||
```
|
||||
|
||||
## What's included
|
||||
|
@ -13,11 +13,13 @@
|
||||
"license": "MIT",
|
||||
"author": "The CoreUI Team (https://github.com/orgs/coreui/people)",
|
||||
"scripts": {
|
||||
"build": "react-scripts --openssl-legacy-provider build",
|
||||
"build": "react-scripts build",
|
||||
"build:n17": "react-scripts --openssl-legacy-provider build",
|
||||
"changelog": "auto-changelog --starting-version 4.1.0 --commit-limit false --hide-credit",
|
||||
"eject": "react-scripts eject",
|
||||
"lint": "eslint \"src/**/*.js\"",
|
||||
"start": "react-scripts --openssl-legacy-provider start",
|
||||
"start": "react-scripts start",
|
||||
"start:n17": "react-scripts --openssl-legacy-provider start",
|
||||
"test": "react-scripts test",
|
||||
"test:cov": "npm test -- --coverage --watchAll=false",
|
||||
"test:debug": "react-scripts --inspect-brk test --runInBand"
|
||||
|
Loading…
Reference in New Issue
Block a user