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

Doesn't works with Bun #103

Open
Suniron opened this issue Feb 28, 2024 · 1 comment
Open

Doesn't works with Bun #103

Suniron opened this issue Feb 28, 2024 · 1 comment

Comments

@Suniron
Copy link

Suniron commented Feb 28, 2024

Hey, When I try to use this lib, i got this error in terminal:

Cannot find module "../build/Release/sharp-linux-x64.node" from "/home/....."

Possible solutions:
- Install with verbose logging and look for errors: "npm install --ignore-scripts=false --foreground-scripts --verbose sharp"
- Install for the current linux-x64 runtime: "npm install --platform=linux --arch=x64 sharp"
- Consult the installation documentation: https://sharp.pixelplumbing.com/install

I'm under WSL2 with Ubuntu on Windows 11 and i'm using the version 1.x of Bun

@DudaGod
Copy link
Member

DudaGod commented Feb 29, 2024

Hello.

Does everything work without using Bun? Can you provide a minimal reproducible example?

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

No branches or pull requests

2 participants