pngquant failed to build, make sure that libpng-dev is installed

vue项目运行安装依赖报错:Error: pngquant failed to build, make sure that libpng-dev is installed

pngquant failed to build, make sure that libpng-dev is installed_第1张图片
解决方案如下:重新安装pngquant

npm install --save-dev pngquant
安装成功并运行成功

你可能感兴趣的:(vue,vue)