背景:windows npm install失败
错误信息:pngquant failed to build, make sure that libpng-dev is installed
解决方案
npm install --global windows-build-tools
如果仍然失败,参考github回答
pngquant failed to build, make sure that libpng-dev is installed
npm install --global windows-build-tools
如果仍然失败,参考github回答