Skip to content

Issues installing skills - brew running as rootย #25

@billda

Description

@billda

When trying to install skills using the OpenClaw setup wizard, installs fail with errors similar to the below. The installer pukes because brew is running as root and it doesn't like that.

โ—‡ Install missing skill dependencies
๐Ÿ” 1password, ๐Ÿ™ github, ๐ŸŽฎ gog, ๐Ÿงพ summarize

โ—‡ Install failed: 1password (exit 1) โ€” Error: Need to download https://formulae.brew.sh/api/formula.jws.json but cannot as root! Run brew update without sudo first then try aโ€ฆ
Error: Need to download https://formulae.brew.sh/api/formula.jws.json but cannot as root! Run brew update without sudo first then try again.
Tip: run openclaw doctor to review skills + requirements.
Docs: https://docs.openclaw.ai/skills

โ—‡ Install failed: github (exit 1) โ€” Error: Need to download https://formulae.brew.sh/api/formula.jws.json but cannot as root! Run brew update without sudo first then try aโ€ฆ
Error: Need to download https://formulae.brew.sh/api/formula.jws.json but cannot as root! Run brew update without sudo first then try again.
Tip: run openclaw doctor to review skills + requirements.
Docs: https://docs.openclaw.ai/skills

โ—‡ Installed gog

โ—‡ Install failed: summarize (exit 1) โ€” Error: steipete/tap/summarize: formula requires at least a URL
Warning: No remote 'origin' in /home/linuxbrew/.linuxbrew/Homebrew, skipping update!
==> Auto-updating Homebrew...
Adjust how often this is run with $HOMEBREW_AUTO_UPDATE_SECS or disable with
$HOMEBREW_NO_AUTO_UPDATE=1. Hide these hints with $HOMEBREW_NO_ENV_HINTS=1 (see man brew).
Error: steipete/tap/summarize: formula requires at least a URL
Warning: Removed Sorbet lines from backtrace!
/config/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:408:in 'Formula#determine_active_spec'
/config/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:298:in 'Formula#initialize'
/config/.linuxbrew/Homebrew/Library/Homebrew/formulary.rb:464:in 'Formulary::FormulaLoader#get_formula'
/config/.linuxbrew/Homebrew/Library/Homebrew/formulary.rb:708:in 'Formulary::FromTapLoader#get_formula'
/config/.linuxbrew/Homebrew/Library/Homebrew/formulary.rb:967:in 'Formulary.factory'
/config/.linuxbrew/Homebrew/Library/Homebrew/cli/named_args.rb:343:in 'block in Homebrew::CLI::NamedArgs#load_formula_or_cask'
/config/.linuxbrew/Homebrew/Library/Homebrew/api.rb:379:in 'Homebrew.with_no_api_env_if_needed'
/config/.linuxbrew/Homebrew/Library/Homebrew/cli/named_args.rb:336:in 'Homebrew::CLI::NamedArgs#load_formula_or_cask'
/config/.linuxbrew/Homebrew/Library/Homebrew/cli/named_args.rb:85:in 'block in Homebrew::CLI::NamedArgs#to_formulae_and_casks'
/config/.linuxbrew/Homebrew/Library/Homebrew/cli/named_args.rb:84:in 'Array#each'
/config/.linuxbrew/Homebrew/Library/Homebrew/cli/named_args.rb:84:in 'Enumerable#flat_map'
/config/.linuxbrew/Homebrew/Library/Homebrew/cli/named_args.rb:84:in 'Homebrew::CLI::NamedArgs#to_formulae_and_casks'
/config/.linuxbrew/Homebrew/Library/Homebrew/cmd/install.rb:209:in 'Homebrew::Cmd::InstallCmd#run'
/config/.linuxbrew/Homebrew/Library/Homebrew/brew.rb:114:in '

'
Please report this issue:
https://docs.brew.sh/Troubleshooting
Tip: run openclaw doctor to review skills + requirements.
Docs: https://docs.openclaw.ai/skills

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions