Hello, I am a new developer on radicle.
I’m trying to build my project on my Debian 12 server.
However, I encounter an error on the “shrap” module:
“Could not load the “sharp” module using the linux-x64 runtime”.
Possible solutions:
- Ensure that optional dependencies can be installed:
npm install --include=optional sharp
yarn add sharp --ignore-engines - Make sure your package manager supports cross-platform installation:
See sharp - High performance Node.js image processing - Add platform-specific dependencies:
npm install --os=linux --cpu=x64 sharp - Consult the installation documentation:
See https://sharp.pixelplumbing.com/install"
I’ve already tested the following commands, but they don’t work.
Do you have any idea how to solve this problem?
For information, here is the command “npx envinfo --binaries --system”.
System :
OS: Linux 6.1 Debian GNU/Linux 12 (bookworm) 12 (bookworm)
CPU: (32) x64 AMD EPYC 7313 16-Core Processor
Memory: 57.07 GB / 62.75 GB
Container: Yes
Shell: 5.2.15 - /bin/bash
Binaries :
Node: 20.5.1 - /usr/bin/node
Yarn: 1.22.21 - /usr/bin/yarn
npm: 9.8.0 - /usr/bin/npm