berstend / node-safe

🤠 Make using Node.js safe again with Deno-like permissions
https://node-safe.com
205 stars 8 forks source link

Rosetta emulation with sandbox exec #10

Open simbados opened 1 year ago

simbados commented 1 year ago

Has anyone encountered problems when running node-safe with a node binary that uses Rosetta emulation (apple silicon chip)? The error messages are not really helpful, allowing process-exec, file-read for /Library/Apple/usr/libexec/oah/ (Rosetta binaries subpath) still produces the error: "failed to write BRA failure blob: 1"

Any help would be appreciated :)