lovell / sharp

High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, AVIF and TIFF images. Uses the libvips library.
https://sharp.pixelplumbing.com
Apache License 2.0
28.9k stars 1.29k forks source link

Something went wrong installing the "sharp" module #3117

Closed zaidnei closed 2 years ago

zaidnei commented 2 years ago

Possible bug

Is this a possible bug in a feature of sharp, unrelated to installation?

If you cannot confirm both of these, please open an installation issue instead.

Are you using the latest version of sharp?

If you cannot confirm this, please upgrade to the latest version and try again before opening an issue.

If you are using another package which depends on a version of sharp that is not the latest, please open an issue against that package instead.

What is the output of running npx envinfo --binaries --system --npmPackages=sharp --npmGlobalPackages=sharp?

System: OS: Windows 10 10.0.19044 CPU: (8) x64 AMD Ryzen 5 3350G with Radeon Vega Graphics Memory: 2.68 GB / 5.93 GB Binaries: Node: 14.17.6 - C:\Program Files\nodejs\node.EXE npm: 6.14.15 - C:\Program Files\nodejs\npm.CMD npmPackages: sharp: ^0.30.1 => 0.30.1

What are the steps to reproduce?

I create a project with electron and venom-bot...

venom-bot use sharp to render stickers from whatsapp.

recently they upgrade the sharp lib to version 0.30.1 and my project stop works.

I'd like to know why venom-bot doesn't work with sharp 0.30.1, but works with 0.29.1?

What is the expected behaviour?

I expected that sharp works well as a venom-bot dependency...

Please provide a minimal, standalone code sample, without other dependencies, that demonstrates this problem

Please provide sample image(s) that help explain this problem

indexhtml indexjs package

lovell commented 2 years ago

Please open an installation issue instead.