react项目运行安装依赖报错:Error: pngquant failed to build, make sure that libpng-dev is installed时间:2022-08-19 05:09:44 安装报错之后。但是安装libpng-dev。发现找不到。通过多方查找。准备重新安装pngquant。命令如下: npm install --save-dev pngquant安装成功并运行成功