Can't install sharp on my host


#1

Hey, my blog is on blog.adriankwiatkowski.eu.

I’m on version 2.9.1 and I have a problem with the new feature of images optimization. It doesn’t work when enabled in theme settings (the images wouldn’t load and error 500 “Sharp not installed” or something like that was shown when I opened the images). So I googled and tried to install sharp on my FastComet host (npm install sharp) but it gives me errors. And since I don’t have sudo access there, I can’t build anything myself. Any tips?


#2

It looks like you won’t be able to install sharp on your host because it’s missing a dependency, and you need sudo to install that dependency


#3

Uh, that’s what I thought, which is kinda sad because I miss those auto-resizing and optimizing features of images.


#4

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.