romankurnovskii / BrewMate

Homebrew GUI apps manager
https://romankurnovskii.com/brewmate/
MIT License
137 stars 29 forks source link

[BUG] - Failing to Run and Detect Nothing #131

Open drveresh opened 5 months ago

drveresh commented 5 months ago

Description

After a clean installatiion, both vai DMG and Brew commands, the app is opening, but unable to detect existing items, not showing new items, and there is nothing to install at all.

Device: macOS Sonoma 14.4.1 (23E224)

Below is the error on the app(footer):

"`Error: Error: Command failed: brew tap /bin/sh: brew: command not found`"

Please helping fix these issues and offer a seamless installations.

### Reproduction URL

_No response_

### Reproduction steps

```bash
1. Just install the app and open it, and there is nothing to browser, check or install!

Screenshots

![DESCRIPTION](LINK.png)

Logs

[2024-03-30T17:17:29.680Z] Started command: brew tap
[2024-03-30T17:17:29.686Z] Error: Command failed: brew tap
/bin/sh: brew: command not found

/bin/sh: brew: command not found

[2024-03-30T17:17:31.610Z] Started command: open "/Users/UserID/Library/Application Support/brewmate/logsbrewmate.txt"
[2024-03-30T17:18:18.111Z] Error:Error: Command failed: brew info --installed --casks --json=v2
/bin/sh: brew: command not found

[2024-03-30T17:30:12.799Z] Current version of the app: 0.4.1
[2024-03-30T17:30:13.196Z] Error:Error: ENOENT: no such file or directory, open '/Users/UserID/Library/Application Support/brewmate/casks-dict.json'
[2024-03-30T17:30:29.719Z] Error:Error: Command failed: brew info --installed --casks --json=v2
/bin/sh: brew: command not found

[2024-03-30T17:30:32.068Z] Started command: brew tap
[2024-03-30T17:30:32.098Z] Error: Command failed: brew tap
/bin/sh: brew: command not found

/bin/sh: brew: command not found

[2024-03-30T17:33:32.533Z] Started command: open "/Users/UserID/Library/Application Support/brewmate/logsbrewmate.txt

OS

Mac

LaurentSGL commented 3 months ago

hello i have nearly the same thing on catalina 10.15.7. The app launches but nothing appears in the list. I just type the command : echo "eval $(/usr/local/Homebrew/bin/brew shellenv)" >> .zshrc and now the lists appears. Hope it will help