How do I create a formulae to install a bash shell script? #5388
Unanswered
etrigan63
asked this question in
Writing Formulae/Casks
Replies: 1 comment 6 replies
-
|
Difficult to troubleshoot without seeing the formula. Most likely you need |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Output of
brew configOutput of
brew doctorDescription of issue
Tried to write a formulae to install betterdiscordctl from https://github.com/bb010g/betterdiscordctl/archive/refs/tags/v2.0.1.tar.gz
Got the following errors running the audit:
HOMEBREW_NO_INSTALL_FROM_API=1 brew audit --new betterdiscordctl
'Error: invalid attribute for formula 'betterdiscordctl': version (nil)
Warning: Removed Sorbet lines from backtrace!
Rerun with
--verboseto see the original backtrace/var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:330:in
validate_attributes!' /var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:255:ininitialize'/var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formulary.rb:570:in
new' /var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formulary.rb:570:inget_formula'/var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formulary.rb:794:in
get_formula' /var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formulary.rb:1009:infactory'/var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cli/named_args.rb:146:in
block in load_formula_or_cask' /var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/api.rb:197:inwith_no_api_env'/var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/api.rb:206:in
with_no_api_env_if_needed' /var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cli/named_args.rb:138:inload_formula_or_cask'/var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cli/named_args.rb:81:in
block in to_formulae_and_casks' /var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cli/named_args.rb:79:ineach'/var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cli/named_args.rb:79:in
flat_map' /var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cli/named_args.rb:79:into_formulae_and_casks'/var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cli/named_args.rb:109:in
to_formulae_and_casks_with_taps' /var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/dev-cmd/audit.rb:156:inblock in run'/var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/api.rb:197:in
with_no_api_env' /var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/dev-cmd/audit.rb:126:inrun'/var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb:92:in `
Please report this issue:
https://docs.brew.sh/Troubleshooting
Beta Was this translation helpful? Give feedback.
All reactions