Can't install sharp on my host


Hey, my blog is on

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?


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


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


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