环境:
windows 7
nodejs:16.13.1
jeecgBoot-vue3.5.0
问题:
在安装jeecgBoot-vue3依赖的过程中出现报错:
pngquant pre-build test failed compiling from source Error: pngquant failed to build, make sure that libpng-dev is installed
具体如下图:
尝试多次重装、修改源仍然不行。
解决方法:
1.下载[pngquant库](https://pngquant.org/)
2.下载后解压并以管理员权限运行安装
3.提示缺少vcruntime140.dll库,则下载并安装Visual C++ Redistributable for Visual Studio 2015
4.重新yarn应该就可以了。