diff --git a/lib/producer.ts b/lib/producer.ts index d556798b..c26e2f2a 100644 --- a/lib/producer.ts +++ b/lib/producer.ts @@ -210,7 +210,7 @@ function nativePrebuildInstall(target: Target, nodeFile: string) { throw new Error(`Couldn't find node version, instead got: ${nodeVersion}`); } - const nativeFile = `${nodeFile}.${target.platform}.${nodeVersion}`; + const nativeFile = `${nodeFile}.${target.platform}.${target.arch}.${nodeVersion}`; if (fs.existsSync(nativeFile)) { return nativeFile;