From 7ea5c74626f5d96493264596dcbe3e2179cf9f00 Mon Sep 17 00:00:00 2001 From: Julian Stirling Date: Mon, 3 Nov 2025 09:10:48 +0000 Subject: [PATCH] Remove --openssl-legacy-provider node option --- .gitlab-ci.yml | 1 - webapp/README.md | 7 ++----- webapp/package.json | 2 +- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a476aa23..10620d0e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: diff --git a/webapp/README.md b/webapp/README.md index af8acea7..6b0a2f7e 100644 --- a/webapp/README.md +++ b/webapp/README.md @@ -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 diff --git a/webapp/package.json b/webapp/package.json index 451f7b26..ed33319d 100644 --- a/webapp/package.json +++ b/webapp/package.json @@ -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" },