Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.

Commit

Permalink
fix: add node-gyp flag
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice committed Dec 1, 2023
1 parent 7679055 commit f62b535
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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})"
Expand Down

0 comments on commit f62b535

Please sign in to comment.