From 7004616e039ed576f21d4aab3dd5611974a31580 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Thu, 22 Jan 2026 07:09:20 +0000 Subject: [PATCH] docs: note node-gyp workaround for sharp --- docs/install/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/install/index.md b/docs/install/index.md index 57b09c4cf..dde0e5eeb 100644 --- a/docs/install/index.md +++ b/docs/install/index.md @@ -71,6 +71,8 @@ If you have libvips installed globally (common on macOS via Homebrew) and `sharp SHARP_IGNORE_GLOBAL_LIBVIPS=1 npm install -g clawdbot@latest ``` +If you see `sharp: Please add node-gyp to your dependencies`, either install build tooling (macOS: Xcode CLT + `npm install -g node-gyp`) or use the `SHARP_IGNORE_GLOBAL_LIBVIPS=1` workaround above to skip the native build. + Or: ```bash