Skip to content

Commit

Permalink
update sharp dependency
Browse files Browse the repository at this point in the history
sharp has an implicit binary dependency on sharp-libvips, which it tries to download or build from source. Both fail with node 20.13.1 on ARM-based Macs. The download is valid, but somehow doesn't match the platform. The npm-install output contains this:

npm ERR! sharp: Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.10.6/libvips-8.10.6-darwin-arm64v8.tar.br
npm ERR! prebuild-install WARN install No prebuilt binaries found (target=3 runtime=napi arch=arm64 libc= platform=darwin)

Updating to a newer version of sharp fixes this issue.
  • Loading branch information
jzaefferer committed Oct 1, 2024
1 parent 0f50710 commit e871931
Show file tree
Hide file tree
Showing 2 changed files with 705 additions and 698 deletions.
Loading

0 comments on commit e871931

Please sign in to comment.