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

sharp ERROR #27

Open
ravindu01manoj opened this issue Nov 19, 2021 · 7 comments
Open

sharp ERROR #27

ravindu01manoj opened this issue Nov 19, 2021 · 7 comments

Comments

@ravindu01manoj
Copy link

]: /root/QueenSewWhatsappBot/node_modules/sharp/lib/sharp.js:30
2021-11-19T09:44:22.947378+00:00 app[worker.1]: throw new Error(help.join('\n'));
2021-11-19T09:44:22.947379+00:00 app[worker.1]: ^
2021-11-19T09:44:22.947379+00:00 app[worker.1]:
2021-11-19T09:44:22.947380+00:00 app[worker.1]: Error:
2021-11-19T09:44:22.947380+00:00 app[worker.1]: Something went wrong installing the "sharp" module
2021-11-19T09:44:22.947380+00:00 app[worker.1]:
2021-11-19T09:44:22.947382+00:00 app[worker.1]: Error relocating /root/QueenSewWhatsappBot/node_modules/sharp/build/Release/../.././vendor/8.11.3/linuxmusl-x64/lib/libvips-cpp.so.42: _ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev: symbol not found
2021-11-19T09:44:22.947382+00:00 app[worker.1]:

@AlenVelocity
Copy link
Owner

These logs are not enough, could you give a bit more context?

@ravindu01manoj
Copy link
Author

okey wait

@ravindu01manoj
Copy link
Author

2021-11-19T10:34:44.444649+00:00 app[worker.1]: /root/QueenSewWhatsappBot/node_modules/sharp/lib/constructor.js:32
2021-11-19T10:34:44.444658+00:00 app[worker.1]: throw new Error(error);
2021-11-19T10:34:44.444659+00:00 app[worker.1]: ^
2021-11-19T10:34:44.444659+00:00 app[worker.1]:
2021-11-19T10:34:44.444659+00:00 app[worker.1]: Error:
2021-11-19T10:34:44.444660+00:00 app[worker.1]: Something went wrong installing the "sharp" module
2021-11-19T10:34:44.444660+00:00 app[worker.1]:
2021-11-19T10:34:44.444661+00:00 app[worker.1]: Error relocating /root/QueenSewWhatsappBot/node_modules/sharp/build/Release/../../vendor/8.10.6/lib/libvips-cpp.so.42: _ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev: symbol not found
2021-11-19T10:34:44.444661+00:00 app[worker.1]:
2021-11-19T10:34:44.444662+00:00 app[worker.1]: - Remove the "node_modules/sharp" directory then run
2021-11-19T10:34:44.444662+00:00 app[worker.1]: "npm install --ignore-scripts=false --verbose sharp" and look for errors
2021-11-19T10:34:44.444663+00:00 app[worker.1]: - Consult the installation documentation at https://sharp.pixelplumbing.com/install
2021-11-19T10:34:44.444663+00:00 app[worker.1]: - Search for this error at https://github.com/lovell/sharp/issues
2021-11-19T10:34:44.444663+00:00 app[worker.1]:
2021-11-19T10:34:44.444664+00:00 app[worker.1]: at Object. (/root/QueenSewWhatsappBot/node_modules/sharp/lib/constructor.js:32:9)
2021-11-19T10:34:44.444664+00:00 app[worker.1]: at Module._compile (node:internal/modules/cjs/loader:1102:14)
2021-11-19T10:34:44.444665+00:00 app[worker.1]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1131:10)
2021-11-19T10:34:44.444665+00:00 app[worker.1]: at Module.load (node:internal/modules/cjs/loader:967:32)
2021-11-19T10:34:44.444666+00:00 app[worker.1]: at Function.Module._load (node:internal/modules/cjs/loader:807:14)
2021-11-19T10:34:44.444666+00:00 app[worker.1]: at Module.require (node:internal/modules/cjs/loader:991:19)
2021-11-19T10:34:44.444666+00:00 app[worker.1]: at require (node:internal/modules/cjs/helpers:92:18)
2021-11-19T10:34:44.444667+00:00 app[worker.1]: at Object. (/root/QueenSewWhatsappBot/node_modules/sharp/lib/index.js:3:15)
2021-11-19T10:34:44.444667+00:00 app[worker.1]: at Module._compile (node:internal/modules/cjs/loader:1102:14)
2021-11-19T10:34:44.444667+00:00 app[worker.1]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1131:10)

@ravindu01manoj
Copy link
Author

any solution ???..i need this npm soonly 💖

@AlenVelocity
Copy link
Owner

Looks like you're in a Heroku Environment. Does the same error occur locally?

@xirf
Copy link

xirf commented Nov 29, 2021

Looks like you're in a Heroku Environment. Does the same error occur locally?

it happend in termux too

@AlenVelocity
Copy link
Owner

@evaasmakula have you tried the solutions mentioned here? lovell/sharp#1889

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

3 participants