Closed Najihel closed 8 months ago
I had the same issue with running brew audit
. After brew tap --force homebrew/Cask
, it's fine.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
It is still a problem
@AlekSi do you have developer mode turned on?
Commands like brew audit
enable it automatically. Here is the full output of the same command as in #156758:
brew audit --cask --online elgato-stream-deck
Warning: audit is a developer command, so Homebrew's
developer mode has been automatically turned on.
To turn developer mode off, run:
brew developer off
Error: no implicit conversion of nil into String
Please report this issue:
https://docs.brew.sh/Troubleshooting
Warning: Removed Sorbet lines from backtrace!
Rerun with --verbose to see the original backtrace
/opt/homebrew/Library/Homebrew/cask/cask_loader.rb:85:in `initialize'
/opt/homebrew/Library/Homebrew/cask/cask_loader.rb:85:in `Pathname'
/opt/homebrew/Library/Homebrew/cask/cask_loader.rb:85:in `can_load?'
/opt/homebrew/Library/Homebrew/cask/cask_loader.rb:176:in `can_load?'
/opt/homebrew/Library/Homebrew/cask/cask_loader.rb:427:in `block in for'
/opt/homebrew/Library/Homebrew/cask/cask_loader.rb:426:in `each'
/opt/homebrew/Library/Homebrew/cask/cask_loader.rb:426:in `for'
/opt/homebrew/Library/Homebrew/cask/cask_loader.rb:413:in `load'
/opt/homebrew/Library/Homebrew/dev-cmd/audit.rb:250:in `block (3 levels) in audit'
/opt/homebrew/Library/Homebrew/simulate_system.rb:29:in `with'
/opt/homebrew/Library/Homebrew/dev-cmd/audit.rb:246:in `block (2 levels) in audit'
/opt/homebrew/Library/Homebrew/dev-cmd/audit.rb:243:in `each'
/opt/homebrew/Library/Homebrew/dev-cmd/audit.rb:243:in `flat_map'
/opt/homebrew/Library/Homebrew/dev-cmd/audit.rb:243:in `block in audit'
/opt/homebrew/Library/Homebrew/dev-cmd/audit.rb:240:in `each'
/opt/homebrew/Library/Homebrew/dev-cmd/audit.rb:240:in `each_with_object'
/opt/homebrew/Library/Homebrew/dev-cmd/audit.rb:240:in `audit'
/opt/homebrew/Library/Homebrew/brew.rb:86:in `<main>'
You will also need to have homebrew/homebrew-cask
tapped so that the files can be sourced from the repository locally and not from the API.
That's good, but then, at least the PR checklist is not accurate. The error message probably could be improved, too. Otherwise, the occasional contributing to casks is rather confusing.
Running the tap command is one of the first instructions in the Contributing documentation.
https://github.com/Homebrew/homebrew-cask/blob/master/CONTRIBUTING.md
tap
command or word "tap" is not actually mentioned in this file at all.
Let me put it this way. This issue started with brew bump --open-pr foxit-pdf-editor
command failing. Using the information about that command from CONTRIBUTING.md ("In most cases, it's very simple to update it…") and PR checklist, it not possible to create a simple drive-by PR that just bumps the version that would pass a PR checklist.
Yes, perhaps it should start with the "Getting Set Up to Contribute" step.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Verification
--force
.brew update-reset && brew update
and retried my command.brew doctor
, fixed as many issues as possible and retried my command.Description of issue
Hello,
I would like to create a PR for the outdated
foxit-pdf-editor
following https://github.com/Homebrew/homebrew-cask/blob/HEAD/CONTRIBUTING.md#updating-a-caskThe
brew bump
failed withError: no implicit conversion of nil into String
error.Regards
Command that failed
brew bump --open-pr foxit-pdf-editor
Output of command with
--verbose --debug
Output of
brew doctor
andbrew config
Output of
brew tap