When I hit deploy I keep getting this error. It all started when I tried to use the image resize component. It keeps saying the sharp module is missing, but it is not. I have manually installed it and verified it is there in my package.json file.
When using docker and NodeJS please make sure Debian 11 bullseye is selected in the project target options as OS.
It is also the new default.
Thank you for tackling this!
So here is what happened. I updated to most recent version of Wappler this morning.
OS was set to Debian 10 - Buster
I switched it to 11 and was getting the same problem.
So I switched back and ran npm sharp uninstall
This cleared up the deployment error.
Then I went and switched to Debian 11 and updated my node packages
And now everything works and I am able to use the image resizer.
Thank you again!