I had the same error. It was happening to me because I have the Apple M1 Mac. I solved the error installing Homebrew, and after that, I had to install 'lipvips' using Brew install vips
. Then, inside my project, npm install sharp
, and finally, I run npm run build
and it worked fine for me. I Hope It works for you!
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…