在 linux 中使用 yarn 安装组件时,出现以下错误:
Error: pngquant failed to build, make sure that libpng-dev is installed
安装 libpng-dev 组件就可以了:
sudo apt install libpng-dev
在 linux 中使用 yarn 安装组件时,出现以下错误:
Error: pngquant failed to build, make sure that libpng-dev is installed
安装 libpng-dev 组件就可以了:
sudo apt install libpng-dev