Use NODE_OPTIONS=--openssl-legacy-provider in build_and_run
This commit is contained in:
parent
c89590c7b7
commit
d95c10e06c
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue