Use NODE_OPTIONS=--openssl-legacy-provider in build_and_run

This commit is contained in:
Dan Stillman 2023-07-25 00:52:00 -04:00
parent c89590c7b7
commit d95c10e06c

View file

@ -45,7 +45,8 @@ if [ $REBUILD -eq 1 ]; then
echo "Running JS build process"
echo
cd $ROOT_DIR
npm run build
# TEMP: --openssl-legacy-provider avoids a build error in pdf.js
NODE_OPTIONS=--openssl-legacy-provider npm run build
echo
fi