You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am encountering a persistent issue when attempting to start the v2ray-core service using Homebrew services. Despite ensuring that my Homebrew installation is up to date and checking the formula for any incorrect or deprecated method references, the error continues to occur.
Steps to Reproduce:
Attempt to start v2ray-core using Homebrew services:
brew services start v2ray/v2ray/v2ray-core
Receive the following error message:
Error: undefined method `plist_startup' for #<Formula v2ray-core (stable) /opt/homebrew/Library/Taps/v2ray/homebrew-v2ray/Formula/v2ray-core.rb>
Did you mean? plist_name
/opt/homebrew/Library/Taps/homebrew/homebrew-services/lib/service/formula_wrapper.rb:71:in `service_startup?'
/opt/homebrew/Library/Taps/homebrew/homebrew-services/lib/service/services_cli.rb:280:in `service_load'
/opt/homebrew/Library/Taps/homebrew/homebrew-services/lib/service/services_cli.rb:122:in `block in start'
/opt/homebrew/Library/Taps/homebrew/homebrew-services/lib/service/services_cli.rb:97:in `each'
/opt/homebrew/Library/Taps/homebrew/homebrew-services/lib/service/services_cli.rb:97:in `start'
/opt/homebrew/Library/Taps/homebrew/homebrew-services/lib/service/commands/start.rb:12:in `run'
/opt/homebrew/Library/Taps/homebrew/homebrew-services/cmd/services.rb:139:in `run'
/opt/homebrew/Library/Homebrew/brew.rb:89:in `<main>'
What I Have Tried:
Updating Homebrew and all related services.
Checking and editing the v2ray-core formula to ensure no outdated methods like plist_startup are referenced (none were found).
Unlinking and relinking the v2ray-core.
Attempting to start the service after ensuring no conflicts with other formulas.
Expected Result: v2ray-core should start without errors and be managed by Homebrew services.
Actual Result:
The service fails to start due to an undefined method error related to plist_startup.
Additional Information:
Homebrew version: (output of brew --version)
macOS version: (output of sw_vers)
Output of brew doctor
I would appreciate any insights into why this error is occurring and any potential fixes or workarounds. It seems possible that there might be an issue with how Homebrew services are interpreting the formula or a bug in the services management script.
The text was updated successfully, but these errors were encountered:
I am encountering a persistent issue when attempting to start the
v2ray-core
service using Homebrew services. Despite ensuring that my Homebrew installation is up to date and checking the formula for any incorrect or deprecated method references, the error continues to occur.Steps to Reproduce:
v2ray-core
using Homebrew services:What I Have Tried:
v2ray-core
formula to ensure no outdated methods likeplist_startup
are referenced (none were found).v2ray-core
.Expected Result:
v2ray-core
should start without errors and be managed by Homebrew services.Actual Result:
The service fails to start due to an undefined method error related to
plist_startup
.Additional Information:
brew --version
)sw_vers
)brew doctor
I would appreciate any insights into why this error is occurring and any potential fixes or workarounds. It seems possible that there might be an issue with how Homebrew services are interpreting the formula or a bug in the services management script.
The text was updated successfully, but these errors were encountered: