Closed jandubois closed 3 days ago
We use sudo-prompt to ask for the users password when needed to execute privileged commands.
On macOS the module uses AppleScript to prompt for the password:
do shell script "./sudo-prompt-script" with administrator privileges
This script is compiled into an applet, but the applet does not include an aarch64 binary:
aarch64
./MacOS/applet (for architecture i386): Mach-O executable i386 ./MacOS/applet (for architecture x86_64): Mach-O 64-bit executable x86_64
That means the script will fail unless Rosetta is installed:
/bin/sh: ./applet: Bad CPU type in executable
The NPM version hasn't been updated in 4 years, so maybe we need to build this module ourselves?
The NPM version hasn't been updated in 4 years…
Also:
This repository has been archived by the owner on Sep 23, 2021. It is now read-only.
Fixed by #7415
We use sudo-prompt to ask for the users password when needed to execute privileged commands.
On macOS the module uses AppleScript to prompt for the password:
This script is compiled into an applet, but the applet does not include an
aarch64
binary:That means the script will fail unless Rosetta is installed:
The NPM version hasn't been updated in 4 years, so maybe we need to build this module ourselves?