We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 772905e + d08cd36 commit 7bde56fCopy full SHA for 7bde56f
scripts/prebuild.js
@@ -31,4 +31,12 @@ if (!fs.existsSync(PREBUILD_DIR)) {
31
process.exit(1);
32
}
33
34
+// Ensure spawn-helper has execute permission (may be stripped by npm pack)
35
+if (process.platform === 'darwin') {
36
+ const spawnHelper = path.join(PREBUILD_DIR, 'spawn-helper');
37
+ if (fs.existsSync(spawnHelper)) {
38
+ fs.chmodSync(spawnHelper, 0o755);
39
+ }
40
+}
41
+
42
process.exit(0);
0 commit comments