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

安装报错之后。但是安装libpng-dev。发现找不到。通过多方查找。准备重新安装pngquant。命令如下:

npm install --save-dev pngquant

安装成功并运行成功
posted @ 2020-09-17 11:33  11个条子  阅读(9913)  评论(0编辑  收藏  举报