raycast / extensions

Everything you need to extend Raycast.
https://developers.raycast.com
MIT License
5.39k stars 3.09k forks source link

[Brew]... #14893

Open TiyaniMilton opened 1 month ago

TiyaniMilton commented 1 month ago

Extension

https://raycast.com/nhojb/brew

Raycast Version

1.84.2

macOS Version

15.0.1

Description

Error:

Error: Command failed: /opt/homebrew/bin/brew update
==> Updating Homebrew...
fatal: '...' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: couldn't find remote ref refs/heads/main
Error: Fetching /opt/homebrew failed!
Fetching /opt/homebrew/Library/Taps/zen-browser/homebrew-browser failed!
Error: Some taps failed to update!
The following taps can not read their remote branches:
  zen-browser/browser
This is happening because the remote branch was renamed or deleted.
Reset taps to point to the correct remote branches by running `brew tap --repair`

    at genericNodeError (node:internal/errors:984:15)
    at wrappedFn (node:internal/errors:538:14)
    at ChildProcess.exithandler (node:child_process:422:12)
    at ChildProcess.emit (node:events:519:28)
    at ChildProcess.emit (node:domain:488:12)
    at maybeClose (node:internal/child_process:1105:16)
    at Socket.<anonymous> (node:internal/child_process:457:11)
    at Socket.emit (node:events:519:28)
    at Socket.emit (node:domain:488:12)
    at Pipe.<anonymous> (node:net:338:12)

Steps To Reproduce

run the command to show outdated packages

Current Behaviour

failing to get outdated packages

Expected Behaviour

to show outdated packages

raycastbot commented 1 month ago

Thank you for opening this issue!

šŸ”” @nhojb @Aayush9029 @mathieudutour @urwrstkn8mare @ashokbaruaakas @MillerApps @pernielsentikaer @jfkisafk @vpukhanov @j3lte you might want to have a look.

šŸ’” Author and Contributors commands The author and contributors of `nhojb/brew` can trigger bot actions by commenting: - `@raycastbot close this issue` Closes the issue. - `@raycastbot close as not planned` Closes the issue as not planned. - `@raycastbot rename this issue to "Awesome new title"` Renames the issue. - `@raycastbot reopen this issue` Reopens the issue. - `@raycastbot assign me` Assigns yourself to the issue. - `@raycastbot good first issue` Adds the "Good first issue" label to the issue. - `@raycastbot keep this issue open` Make sure the issue won't go stale and will be kept open by the bot.
j3lte commented 1 month ago

... This is happening because the remote branch was renamed or deleted

This is not an issue with the extension, but brew. Try the suggestion mentioned in the error and try again...