Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

brew services start mysql 失败 #905

Open
TongCc228 opened this issue Feb 11, 2025 · 1 comment
Open

brew services start mysql 失败 #905

TongCc228 opened this issue Feb 11, 2025 · 1 comment

Comments

@TongCc228
Copy link

Error: uninitialized constant Homebrew::Service
/opt/homebrew/Library/Homebrew/formulary.rb:396:in block in load_formula_from_api' /opt/homebrew/Library/Homebrew/formulary.rb:285:in initialize'
/opt/homebrew/Library/Homebrew/formulary.rb:285:in new' /opt/homebrew/Library/Homebrew/formulary.rb:285:in load_formula_from_api'
/opt/homebrew/Library/Homebrew/formulary.rb:939:in load_from_api' /opt/homebrew/Library/Homebrew/formulary.rb:932:in klass'
/opt/homebrew/Library/Homebrew/formulary.rb:567:in get_formula' /opt/homebrew/Library/Homebrew/formulary.rb:980:in factory'
/opt/homebrew/Library/Taps/homebrew/homebrew-services/cmd/services.rb:89:in services' /opt/homebrew/Library/Homebrew/brew.rb:98:in public_send'
/opt/homebrew/Library/Homebrew/brew.rb:98:in `

'
If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
https://github.com/homebrew/homebrew-services/issues/new

@ZhongRuoyu
Copy link
Member

Run brew update, and try again. If that doesn't work, please share the output of brew config, brew doctor, and git -C `brew --repo homebrew/services` show.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants