Skip to content

Dependencies: a failed install names its reason and the fix, under the row - #150

Merged
LNPANDY merged 1 commit into
mainfrom
deps-error-hints
Oct 28, 2026
Merged

LNPANDY merged 1 commit into
mainfrom
deps-error-hints

Conversation

@LNPANDY

@LNPANDY LNPANDY commented Oct 28, 2026

Copy link
Copy Markdown
Owner

Part of #141. When a dependency install fails, the row now shows the tool's own Error: line and, for the causes we can name, the exact command: Homebrew's folder owned by another user (sudo chown -R $(whoami) /opt/homebrew), Homebrew missing, the Xcode license, a network/proxy failure — otherwise it points at the log. Before, the spinner returned to the Install button in a second and the reason lived only in the log, which cost a diagnosis round-trip in a real report.

184 frontend tests pass (6 new).

…fixes it

The report that started this showed a spinner turning back into the Install
button in one second, with brew's own error only in the log: Homebrew's
folder belonged to another user. The row now keeps the tool's first Error:
line and maps the causes we can name to an exact fix (chown / install brew
from brew.sh / accept the Xcode license / check the network), falling back
to pointing at the log. Six tests cover the mapping and that every hint has
both languages.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant