前言

安装 DeepLX 服务

插曲

  • 发现在安装最后一步中启动服务中出现报错
    brew services start owo-network/brew/deeplx

    ### 报错信息
    Error: uninitialized constant Homebrew::Service::System
    /opt/homebrew/Library/Homebrew/macos_version.rb:150:in 'const_missing'
    /opt/homebrew/Library/Taps/homebrew/homebrew-services/cmd/services.rb:61:in 'services'
    /opt/homebrew/Library/Homebrew/brew.rb:86:in '<main>'

解决方法

  • 搜寻了一整发现是 HomeBrew 太旧了,需要升级一下,步骤如下
  1. 删除 homebrew-services 目录
    rm -rf /opt/homebrew/Library/Taps/homebrew/homebrew-services
  2. 升级
    brew tap homebrew/services
    brew update
  3. 验证
    brew services list
    • 若没出现报错,说明解决了
  4. 启动服务
    brew services start owo-network/brew/deeplx

联动 Bob 翻译

参考