I've come across a problem with image processing on my local Development target. When trying to use the Server Connect image actions, I get an error saying Sharp cannot load the linuxmusl-arm64 runtime. The rest of the site works, but the image processing doesn't.
I'm using Wappler 7.9.9 on an Apple Silicon Mac, macOS 15.7.3, with Node.js, Docker (Alpine) and MariaDB. The Sharp version in this project is 0.35.5.
To check it, use a local Node.js Docker Development target with Alpine and try a Server Connect action that loads and resizes an image. That's where I ran into it in my project.
I had some help from AI looking into it, and it seems the Development Dockerfile installs the packages using --no-optional. Changing that to --include=optional and rebuilding the web container got it working. Apparently Sharp needs some of those optional packages.
Could you please check whether this needs changing in the Dockerfile that Wappler generates? I'd rather not have to remember to change it manually each time.
I found this older report, but wasn't sure if it was the same issue:
Thanks,
Paul