alloc / vite-plugin-compress

Compress your bundle + assets from Vite
MIT License
131 stars 13 forks source link

install error #8

Open XianZhengquan opened 3 years ago

XianZhengquan commented 3 years ago
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
SparkElf commented 2 years ago

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