mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
./electron:" Permission denied #612
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @devtag on GitHub (Dec 2, 2020).
Originally assigned to: @GregorBiswanger on GitHub.
How can I avoid this error on MacOS:
After I ran "electronize start" the system tried to "start npm install" then this error came up:
"./electron:" Permission denied
I even tried:
sudo -s electronize start
Result:
./electron: Permission denied
System:
macOS Catalina 10.15.7
User has administration permissions
@GregorBiswanger commented on GitHub (Dec 2, 2020):
try to use the "sudo" command with the electronize commands.
@devtag commented on GitHub (Dec 2, 2020):
I even tried:
sudo -s electronize start
Result:
./electron: Permission denied
@GregorBiswanger commented on GitHub (Dec 2, 2020):
and "sudo dotnet -s electronize start"? 🤔
@devtag commented on GitHub (Dec 3, 2020):
"sudo dotnet -s electronize start" produces this error:
Unknown option: -s
At the end I tried this command and it works now:
sudo -s electronize build /target macos