Skip to content

docs: mention sharp libvips install workaround - #1299

Merged
miohtama merged 1 commit into
masterfrom
docs/sharp-libvips-install-note
Jul 3, 2026
Merged

docs: mention sharp libvips install workaround#1299
miohtama merged 1 commit into
masterfrom
docs/sharp-libvips-install-note

Conversation

@miohtama

@miohtama miohtama commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Why

Document the install workaround for local macOS setups where Homebrew libvips makes sharp attempt a source build.

Lessons learnt

sharp may ignore its downloaded prebuilt binary when a compatible global libvips is present, so setting SHARP_IGNORE_GLOBAL_LIBVIPS=1 keeps installs on the simpler prebuilt path.

Summary

  • Added a README note showing SHARP_IGNORE_GLOBAL_LIBVIPS=1 pnpm install --frozen-lockfile for the sharp/libvips install failure.

@miohtama
miohtama merged commit 6e2b9d3 into master Jul 3, 2026
2 of 5 checks passed
@miohtama
miohtama deleted the docs/sharp-libvips-install-note branch July 3, 2026 10:43
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