From 16df7a7ec021dbc69285b1580b4299eb00079ed2 Mon Sep 17 00:00:00 2001 From: Adonis Ling Date: Fri, 18 Aug 2023 10:57:05 +0800 Subject: [PATCH] [chore](macOS) Fix SSL errors while building documents (#23127) Issue Number: #23126 Add NODE_OPTIONS to fix this issue. --- env.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/env.sh b/env.sh index 3413570b3c..1a832d3a5b 100755 --- a/env.sh +++ b/env.sh @@ -68,7 +68,9 @@ for cellar in "\${CELLARS[@]}"; do done export PATH="\${EXPORT_CELLARS}:/usr/bin:\${PATH}" -export DORIS_BUILD_PYTHON_VERSION=python3 +export DORIS_BUILD_PYTHON_VERSION='python3' + +export NODE_OPTIONS='--openssl-legacy-provider' EOF DORIS_HOME_ABSOLUATE_PATH="$(