From bcf212d8de6c2b87571e73cd73023af0e4b7941b Mon Sep 17 00:00:00 2001 From: jb-alvarado Date: Mon, 24 Oct 2022 09:26:18 +0200 Subject: [PATCH] openssl workaround for fedora --- scripts/build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/build.sh b/scripts/build.sh index bd9d4131..eb671d60 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -9,10 +9,14 @@ echo yes | rm -rf public cd ffplayout-frontend +# for node version 17+ +export NODE_OPTIONS=--openssl-legacy-provider npm install npm run build mv dist ../public +unset NODE_OPTIONS + cd .. if [[ -n $target ]]; then