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
|
||||
- .rules_common
|
||||
script:
|
||||
- export NODE_OPTIONS=--openssl-legacy-provider
|
||||
# Build JS application for production
|
||||
- npm run build
|
||||
artifacts:
|
||||
|
|
|
|||
|
|
@ -18,12 +18,9 @@
|
|||
|
||||
_Note: If you are using a Windows OS, the following commands must be executed in a Powershell terminal._
|
||||
|
||||
* Install Node.js (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`
|
||||
* Install Node.js v18 (and npm)
|
||||
* Navigate into the webapp directory with `cd webapp`
|
||||
* Install dependencies with `npm install`
|
||||
* Build the static web app with `npm run build`
|
||||
|
||||
# Developing
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
"scripts": {
|
||||
"gv": "genversion src/version.js",
|
||||
"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:fix": "vue-cli-service lint --fix"
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue