Can't run Homebrew: Cask 'x48' definition is invalid

Viewed 775

Running any brew command gives me

Error: Cask 'x48' definition is invalid: invalid depends_on key: ':x11'

Because of this I can't even run brew doctor to get information on how to address the error.

How do I proceed? What do I need to do to get past this error and get Homebrew working again?

1 Answers

Still had that issue, so tried to deleted this file:

rm -rf "$(brew --prefix)/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/x48.rb
Related