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

Cannot install Sharp Android #4137

Closed
zeyzofc opened this issue Jun 27, 2024 · 4 comments
Closed

Cannot install Sharp Android #4137

zeyzofc opened this issue Jun 27, 2024 · 4 comments

Comments

@zeyzofc
Copy link

zeyzofc commented Jun 27, 2024

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. (/storage/emulated/0/cpanel/node_modules/wa-sticker-formatter/node_modules/sharp/lib/sharp.js:34:9) at Module._compile (node:internal/modules/cjs/loader:1434:14) at Module._extensions..js (node:internal/modules/cjs/loader:1518:10) at Module.load (node:internal/modules/cjs/loader:1249:32) at Module._load (node:internal/modules/cjs/loader:1065:12) at Module.require (node:internal/modules/cjs/loader:1271:19) at require (node:internal/modules/helpers:123:16) at Object. (/storage/emulated/0/cpanel/node_modules/wa-sticker-formatter/node_modules/sharp/lib/constructor.js:8:1) at Module._compile (node:internal/modules/cjs/loader:1434:14) at Module._extensions..js (node:internal/modules/cjs/loader:1518:10) Node.js v22.2.0

I installed Sharp on Termux and an error occurred as above. What is the solution ?

@lovell
Copy link
Owner

lovell commented Jun 27, 2024

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

@zeyzofc
Copy link
Author

zeyzofc commented Jun 28, 2024

Doesn't work for me :(

@lovell
Copy link
Owner

lovell commented Jun 28, 2024

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.

@lovell
Copy link
Owner

lovell commented Jul 16, 2024

@zeyzofc Were you able to make any progress with this? If not, and you still require help, please provide the requested information.

@zeyzofc zeyzofc closed this as not planned Won't fix, can't repro, duplicate, stale Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants