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

Something went wrong installing the "sharp" module #10660

Closed
ferrettinico opened this issue Jul 27, 2021 · 3 comments · May be fixed by Bhanditz/strapi#146
Closed

Something went wrong installing the "sharp" module #10660

ferrettinico opened this issue Jul 27, 2021 · 3 comments · May be fixed by Bhanditz/strapi#146

Comments

@ferrettinico
Copy link

System

After a clean installation using "create-strapi-app" everything installs smoothly, but when running "strapi develop" the following output occurs:

Something went wrong installing the "sharp" module

libImath-3_0.so.28: cannot open shared object file: No such file or directory

Remove the "node_modules/sharp" directory then run
"npm install --ignore-scripts=false --verbose sharp" and look for errors
Consult the installation documentation at https://sharp.pixelplumbing.com/install
Search for this error at https://github.com/lovell/sharp/issues

System

  • Node.js version: 12.22.1
  • NPM version: 6.14.12
  • Strapi version: 3.6.5
  • Database: default
  • Operating system: Manjaro Linux 64 bits

Additional notes

If I remove "strapi-plugin-upload" from package.json then everything works fine, except of course that I cannot create collections with File Upload fields

@ghost
Copy link

ghost commented Jul 28, 2021

Hi ! It's the first time I contribute, i'll be glad to take a look !
(it may take some time, but I'll do my best, if someone wants to take the issue, there's no problem !).
And of course, tell me if it's not like this

@ferrettinico
Copy link
Author

Thank you Gustave! let me know if you need any more info about it

@kasonde
Copy link
Contributor

kasonde commented Jul 29, 2021

Hi @ferrettinico thanks for this. I'll close this issue though as it seems to be an issue with the sharp module and not Strapi itself. Please post this question on either our Discord or Community Forum and reference this issue so that anyone who does come to this issue is able to continue the conversation over there.

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

Successfully merging a pull request may close this issue.

2 participants