Closed maximehamou closed 6 days ago
On mac, try
brew install pkg-config brew install libvips
On debian: sudo apt-get update sudo apt-get install -y build-essential sudo apt-get install -y libvips-dev
But is it normal that it always happen using the plugin if I not do that?
I will try to find a way for this to be solved automatically during installation.
Ok thank you ! Because there is a really big quantity of packages in libvips-dev
!
EDIT : installing these packages does not solve the problem.
EDIT : installing these packages does not solve the problem.
So, do you have any other ideas? Thanks!
I've removed the sharp dependency in the new version.
There is now this error :
Error: Could not load js config file
/Users/Maxime/Desktop/Projets_de_code/zakine-avocats.fr/backend/node_modules/strapi-blurhash/strapi-server.js: Cannot find module 'canvas'
@maximehamou sudo apt-get update sudo apt-get install -y build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev npm install canvas npm list canvas
Hello, I have this error in local (MacOS) and in production (Debian) :
I think there is an issue in the way that the plugin uses sharp.
Thank you for your help.