Issue installing brew cask

I'm trying to install a cask using brew with this command:
brew install --cask font-jetbrains-mono-nerd-font
brew install --cask font-jetbrains-mono-nerd-font
As I understand, casks should technically be working? And, looking at Bazzite DX (I'm on Bazzite DX Gnome) I see there is also something nerd font related. That said, running that command gives me this output:
Authorization required, but no authorization protocol specified


(gnome-ssh-askpass:15090): Gtk-WARNING **: 22:35:38.905: cannot open display: :0
sudo: no password was provided
sudo: a password is required
Authorization required, but no authorization protocol specified


(gnome-ssh-askpass:15090): Gtk-WARNING **: 22:35:38.905: cannot open display: :0
sudo: no password was provided
sudo: a password is required
But I don't get any kind of prompt or whatever, to provide my password.
Solution:
I deleted the fonts folder and now brew could install the font. Not sure why, don't understand, but whatever. 😄
Jump to solution
1 Reply
Solution
PrussianPrince
PrussianPrince•3w ago
I deleted the fonts folder and now brew could install the font. Not sure why, don't understand, but whatever. 😄

Did you find this page helpful?