Skip to content
This repository was archived by the owner on Mar 20, 2025. It is now read-only.
This repository was archived by the owner on Mar 20, 2025. It is now read-only.

Brew services list gave me error #384

@ExsyDev

Description

@ExsyDev

brew config output

HOMEBREW_VERSION: 3.2.16
ORIGIN: https://github.com/Homebrew/brew
HEAD: 09b7ab2c1de3ab32f385aac922b2cd644fdd7c79
Last commit: 3 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 6d6a4aa9ba0d0f2688b07ea0df3d90a9a5f40f81
Core tap last commit: 77 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: octa-core 64-bit arm_firestorm_icestorm
Clang: 13.0.0 build 1300
Git: 2.30.1 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 7.64.1 => /usr/bin/curl
macOS: 11.6-arm64
CLT: 13.0.0.0.1.1630607135
Xcode: 13.0
Rosetta 2: false

brew doctor output

Your system is ready to brew.

  • I ran brew update and am still able to reproduce my issue.
  • I have resolved all warnings from brew doctor and that did not fix my problem.

What were you trying to do (and why)?

I try run brew services list for see services list.

What happened (include all command output)?

I get error after running command brew services list:

Error: undefined method `chomp' for nil:NilClass
/opt/homebrew/Library/Taps/homebrew/homebrew-services/lib/service/services_cli.rb:53:in `user_of_process'
/opt/homebrew/Library/Taps/homebrew/homebrew-services/lib/service/services_cli.rb:139:in `block in list'
/opt/homebrew/Library/Taps/homebrew/homebrew-services/lib/service/services_cli.rb:127:in `map'
/opt/homebrew/Library/Taps/homebrew/homebrew-services/lib/service/services_cli.rb:127:in `list'
/opt/homebrew/Library/Taps/homebrew/homebrew-services/lib/service/commands/list.rb:9:in `run'
/opt/homebrew/Library/Taps/homebrew/homebrew-services/cmd/services.rb:84:in `services'
/opt/homebrew/Library/Homebrew/brew.rb:129:in `<main>'

What did you expect to happen?

I happen see my services list.

Step-by-step reproduction instructions (by running brew commands)

Simple run command brew services list. 

Note: If I run command with sudo: sudo brew services list, then command working. But without sudo command is not work :(. Help me please

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions