ionic-team / ionic-team/capacitor-assets

PNPM installation failed, cause by sharp v0.32.5 post install script

Open
#577 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
583
Forks
116
PR merge metrics
No merged PRs in 30d

Description

Environment:
pnpm: v8.7.4
node: v21.2.0
npm: v9.5.0

Description:
Failed to install with pnpm command (`pnpm add -D @capacitor/assets`)
Cause by `sharp` `v0.32.5` `post install script`
Screenshot 2023-12-05 at 00 26 05

Soluton proposed:
It seem like `sharp` has fixed the issue of `post install script` and release `v0.33.0`
Upgrade `sharp` dependecies to `v0.33.0`

Related Links:
[https://github.com/lovell/sharp/issues/3351](https://github.com/lovell/sharp/issues/3351)
[https://github.com/lovell/sharp/issues/3750#issuecomment-1751172728](https://github.com/lovell/sharp/issues/3750#issuecomment-1751172728)

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.