From 9cd6d439455c3e2dc4c690dd291b69fb6cab9341 Mon Sep 17 00:00:00 2001 From: Pranjal Shankhdhar Date: Fri, 17 Feb 2023 17:01:23 -0800 Subject: [PATCH] Fix SSL error on web ui checks --- presto-main/bin/check_webui.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/presto-main/bin/check_webui.sh b/presto-main/bin/check_webui.sh index 0678f58c6c456..97d55e11049ef 100755 --- a/presto-main/bin/check_webui.sh +++ b/presto-main/bin/check_webui.sh @@ -8,6 +8,9 @@ set -euo pipefail +# https://stackoverflow.com/questions/69692842/error-message-error0308010cdigital-envelope-routinesunsupported +export NODE_OPTIONS=--openssl-legacy-provider + WEBUI_ROOT="$(pwd)/${BASH_SOURCE%/*}/../src/main/resources/webapp" # Fail if running the command to generate the `dist` folder again produces different results.