Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update sharp dependency #483

Merged
merged 3 commits into from
Oct 1, 2024
Merged

update sharp dependency #483

merged 3 commits into from
Oct 1, 2024

Conversation

jzaefferer
Copy link
Collaborator

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.

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.
@phihag phihag merged commit cf2e204 into master Oct 1, 2024
4 checks passed
@phihag phihag deleted the update-sharp branch October 1, 2024 08:30
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.

2 participants