Cannot install Sharp Android
Error: Something went wrong installing the "sharp" module Cannot find module '../build/Release/sharp-android-arm64v8.node' Require stack: - /storage/emulated/0/cpanel/node_modules/wa-sticker-formatter/node_modules/sharp/lib/sharp.js - /storage/emulated/0/cpanel/node_modules/wa-sticker-formatter/node_modules/sharp/lib/constructor.js - /storage/emulated/0/cpanel/node_modules/wa-sticker-formatter/node_modules/sharp/lib/index.js - /storage/emulated/0/cpanel/node_modules/wa-sticker-formatter/dist/internal/convert.js - /storage/emulated/0/cpanel/node_modules/wa-sticker-formatter/dist/Sticker.js - /storage/emulated/0/cpanel/node_modules/wa-sticker-formatter/dist/index.js - /storage/emulated/0/cpanel/zeyz.js - /storage/emulated/0/cpanel/function/chache.js - /storage/emulated/0/cpanel/index.js Possible solutions: - Install with verbose logging and look for errors: "npm install --ignore-scripts=false --foreground-scripts --verbose sharp" - Install for the current android-arm64v8 runtime: "npm install --platform=android --arch=arm64v8 sharp" - Consult the installation documentation: https://sharp.pixelplumbing.com/install at Object.
I installed Sharp on Termux and an error occurred as above. What is the solution ?
Please ensure you are using the latest version (the issue template asked you to confirm this, but that section was ignored/deleted).
https://sharp.pixelplumbing.com/install#cross-platform
npm install --cpu=arm64 --os=linux --libc=glibc sharp
Doesn't work for me :(
Sadly there's not enough information here for anyone to help you. Perhaps you could refer back to the installation issue template that was deleted and provide answers to all of the questions it asked. These questions, and the answers you provide, exist to help me to help you. By not providing answers you're slowing your access to possible solutions.
@zeyzofc Were you able to make any progress with this? If not, and you still require help, please provide the requested information.
Why fu*king closing this?
Try
npm install @img/sharp-wasm32