fix: harden doctor install checks

This commit is contained in:
Peter Steinberger
2026-01-13 07:25:25 +00:00
parent aa394d0e14
commit 4fd1a6dec3
6 changed files with 97 additions and 7 deletions

View File

@@ -30,6 +30,7 @@ What it does (high level):
- `git`: clone/build a source checkout and install a wrapper script
- On Linux: avoid global npm permission errors by switching npms prefix to `~/.npm-global` when needed.
- If upgrading an existing install: runs `clawdbot doctor --non-interactive` (best effort).
- For git installs: runs `clawdbot doctor --non-interactive` after install/update (best effort).
- Mitigates `sharp` native install gotchas by defaulting `SHARP_IGNORE_GLOBAL_LIBVIPS=1` (avoids building against system libvips).
If you *want* `sharp` to link against a globally-installed libvips (or youre debugging), set: