From f62b5351645b1e50cc5dad6fa39116581f3a68c3 Mon Sep 17 00:00:00 2001 From: Michael Kriese Date: Fri, 1 Dec 2023 19:00:38 +0100 Subject: [PATCH] fix: add node-gyp flag --- bin/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/build.sh b/bin/build.sh index e6a00c8..ab5d3c9 100755 --- a/bin/build.sh +++ b/bin/build.sh @@ -23,7 +23,7 @@ fi mkdir .cache echo "Installing re2 v${VERSION} for Node v${NODE_VERSION} (${farch})" -npm install "re2@${VERSION}" --save-exact --no-audit --no-fund --prefix .cache --no-progress --platform-arch=${farch} +npm install "re2@${VERSION}" --save-exact --no-audit --no-fund --prefix .cache --no-progress --platform-arch=${farch} --arch=${farch} # if [[ "$ARCH" = "aarch64" ]]; then #echo "Rebuilding re2 v${VERSION} for Node v${NODE_VERSION} (${farch})"