From 4200e4995ca3db89bc121734412db469d5f27789 Mon Sep 17 00:00:00 2001 From: Mikkel Paulson Date: Mon, 18 Sep 2023 20:00:45 -0400 Subject: [PATCH] add build flag Build was failing due to a version compatibility mismatch between the version of Node running on Cloudflare's build environment and something something software being built. Added the --openssl-legacy-provider flag per the following: https://stackoverflow.com/questions/75959563/node-js-err-ossl-evp-unsupported-error-when-running-npm-run-start --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index d41259cb..b0655ce5 100755 --- a/build.sh +++ b/build.sh @@ -22,7 +22,7 @@ fi cd "$project_root/web" wasm-pack build --release npm install -npm run build +NODE_OPTIONS=--openssl-legacy-provider npm run build cd "$project_root"