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