Brew has not been added to sudoers.d #186
Replies: 5 comments 6 replies
-
Hi @MattRogowski! What does your
This can come up if you're running PHP Monitor natively for M1 while you have Homebrew running with Rosetta. In that case, you may want to try running PHP Monitor using Rosetta (please consult the FAQ for more info about that, under the section "I've got two Homebrew installations on my Apple Silicon Mac, can I choose which installation to use with PHP Monitor?"). |
Beta Was this translation helpful? Give feedback.
-
@nicoverbruggen this is still an issue. I have tried numerous times to get this to work. I tried with/without rosetta ticked. I have tried installing under arm64/x86. I either get brew has not been added to sudoers file or that homebrew binary can't be found |
Beta Was this translation helpful? Give feedback.
-
Hey @nicoverbruggen thanks for getting back to me, its much appreciated it. I have attached it. I have checked whats inside and its basically saying brew don't exist in the location it is looking for but it does. I have attached a screenshot. |
Beta Was this translation helpful? Give feedback.
-
Hey @nicoverbruggen yup your right i did jump gun. We got a bit further <~~~~~~~~~~~~~~~~~~~~~~~ [OUT]:
|
Beta Was this translation helpful? Give feedback.
-
Hey @nicoverbruggen Great thank you for such a quick response/fix! It seems it is all working now as expected! Again thank you for your time and effort. |
Beta Was this translation helpful? Give feedback.
-
I keep getting this, despite having run
sudo valet trust
in the past, and running it again now. I have also runsudo chmod +r /private/etc/sudoers.d/brew
to no avail. Is there anything else to try?MacOS 12.4, M1 Max, Valet 3.1.9
I've found #23 from a year and a half ago, the issue still remains.
Beta Was this translation helpful? Give feedback.
All reactions