diff --git a/.buildkite/commands/install-node-dependencies.sh b/.buildkite/commands/install-node-dependencies.sh index 65de60927..70b164e08 100755 --- a/.buildkite/commands/install-node-dependencies.sh +++ b/.buildkite/commands/install-node-dependencies.sh @@ -42,6 +42,9 @@ npm ci \ --maxsockets "$MAX_SOCKETS" \ "$@" +# Rebuid specific native modules to avoid failures due to using different architectures +npm rebuild fs-xattr + echo "--- :npm: Save cache if necessary" # Notice that we don't cache the local node_modules. # Those get regenerated by npm ci as per Node reccomendations.