Remove --openssl-legacy-provider node option
This commit is contained in:
parent
65db119791
commit
7ea5c74626
3 changed files with 3 additions and 7 deletions
|
|
@ -161,7 +161,6 @@ build:
|
||||||
- .javascript_webapp
|
- .javascript_webapp
|
||||||
- .rules_common
|
- .rules_common
|
||||||
script:
|
script:
|
||||||
- export NODE_OPTIONS=--openssl-legacy-provider
|
|
||||||
# Build JS application for production
|
# Build JS application for production
|
||||||
- npm run build
|
- npm run build
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|
|
||||||
|
|
@ -18,12 +18,9 @@
|
||||||
|
|
||||||
_Note: If you are using a Windows OS, the following commands must be executed in a Powershell terminal._
|
_Note: If you are using a Windows OS, the following commands must be executed in a Powershell terminal._
|
||||||
|
|
||||||
* Install Node.js (and npm)
|
* Install Node.js v18 (and npm)
|
||||||
* Install dependencies with `npm install`
|
|
||||||
* Node v18 changes SSL, and so you need a legacy version for compatibility:
|
|
||||||
* On Windows: `$env:NODE_OPTIONS = "--openssl-legacy-provider"`
|
|
||||||
* On Linux/MacOS `export NODE_OPTIONS=--openssl-legacy-provider`
|
|
||||||
* Navigate into the webapp directory with `cd webapp`
|
* Navigate into the webapp directory with `cd webapp`
|
||||||
|
* Install dependencies with `npm install`
|
||||||
* Build the static web app with `npm run build`
|
* Build the static web app with `npm run build`
|
||||||
|
|
||||||
# Developing
|
# Developing
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"gv": "genversion src/version.js",
|
"gv": "genversion src/version.js",
|
||||||
"serve": "npm run gv && vue-cli-service serve --mode development",
|
"serve": "npm run gv && vue-cli-service serve --mode development",
|
||||||
"build": "npm run gv && vue-cli-service build --openssl-legacy-provider --mode production",
|
"build": "npm run gv && vue-cli-service build --mode production",
|
||||||
"lint": "vue-cli-service lint --no-fix --max-warnings 0",
|
"lint": "vue-cli-service lint --no-fix --max-warnings 0",
|
||||||
"lint:fix": "vue-cli-service lint --fix"
|
"lint:fix": "vue-cli-service lint --fix"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue