ionic-team / ionic-team/capacitor-assets

update sharp dependency

Open
#636 3 comments 9 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
583
Forks
116
PR merge metrics
No merged PRs in 30d

Description

The current install of `@capacitor-assets` fails

```node_modules/sharp
npm error command failed
npm error command sh -c (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)
npm error sharp: Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.14.5/libvips-8.14.5-linux-x64.tar.br
npm error sharp: Please see https://sharp.pixelplumbing.com/install for required dependencies
npm error sharp: Installation error: Request timed out
npm error A complete log of this run can be found in: /user/thery/home/.npm/_logs/2025-04-08T02_11_26_160Z-debug-0.log
```

it seems the program comes from the fact that it tries to install `sharp@0.32.6`

Instead if we change the dependency to `0.34.1` it works like a charm

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.