vite-plugin-compress icon indicating copy to clipboard operation
vite-plugin-compress copied to clipboard

install error

Open XianZhengquan opened this issue 3 years ago • 1 comments

error D:\project\node_modules\pngquant-bin: Command failed.
Exit code: 1
Command: node lib/install.js
Arguments:
Directory: D:\project\node_modules\pngquant-bin
Output:
‼ getaddrinfo ENOENT raw.githubusercontent.com
  ‼ pngquant pre-build test failed
  i compiling from source
  × Error: pngquant failed to build, make sure that libpng-dev is installed
    at D:\workspace\jojoread-medal-fe\node_modules\execa\index.js:231:11

XianZhengquan avatar Sep 18 '21 08:09 XianZhengquan

Hi,I meet the same problem,do you have any solution already?

SparkElf avatar Apr 22 '22 06:04 SparkElf