raycast / extensions

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

[Brew]...search #13181

Open amogh344 opened 4 days ago

amogh344 commented 4 days ago

Extension

https://raycast.com/nhojb/brew

Raycast Version

1.77.3

macOS Version

14.5

Description

Error:

Error: Command failed: /opt/homebrew/bin/brew info --json=v2 --installed
/bin/sh: /opt/homebrew/bin/brew: No such file or directory

    at ChildProcess.exithandler (node:child_process:422:12)
    at ChildProcess.emit (node:events:514: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:514:28)
    at Socket.emit (node:domain:488:12)
    at Pipe.<anonymous> (node:net:337:12)

Steps To Reproduce

  1. brew
  2. search
  3. failed to serach

Current Behaviour

No response

Expected Behaviour

No response

raycastbot commented 4 days ago

Thank you for opening this issue!

🔔 @nhojb @Aayush9029 @mathieudutour @urwrstkn8mare @ashokbaruaakas @MillerApps @pernielsentikaer @vpukhanov 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 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.
nhojb commented 4 days ago

@amogh344 from the error it looks like you don't have homebrew installed. You can install by following the instructions found here: https://brew.sh

The other possibility is that you have an Intel Mac & the extension was searching for brew in the wrong location. If so you can set a custom path in Settings -> Extensions -> Brew (see screenshot)

Screenshot 2024-06-21 at 10 25 10