runoops.com

pngquant、libpng-dev

yarn 安装报错:

pngquant-bin command failed
...
Error: pngquant failed to build, make sure that libpng-dev is installed
at Promise.all.then.arr (F:\www\WxApp\WePY\Auditor\node_modules\bin-build\node_modules\execa\index.js:231:11)
at process._tickCallback (internal/process/next_tick.js:68:7)

解决方法:

npm install imagemin-pngquant@5.0.1 --save
npm install pngquant-bin@3.1.1 --save```

Captcha Code

0 笔记

分享笔记

Inline Feedbacks
View all notes