vbenjs / vite-plugin-imagemin

A vite plugin for compressing image assets.
MIT License
212 stars 28 forks source link

pnpm monorepo download error #41

Open 1514100951 opened 1 year ago

1514100951 commented 1 year ago

node_modules/.pnpm/registry.npmmirror.com+optipng-bin@7.0.1/node_modules/optipng-bin: Running postinstall script... node_modules/.pnpm/registry.npmmirror.com+jpegtran-bin@6.0.1/node_modules/jpegtran-bin: Running postinstall script... node_modules/.pnpm/registry.npmmirror.com+jpegtran-bin@6.0.1/node_modules/jpegtran-bin: Running postinstall script, failed in 1m 11.3s .../node_modules/jpegtran-bin postinstall$ node lib/install.js │ connect ETIMEDOUT 199.232.4.133:443 │ jpegtran pre-build test failed │ compiling from source │ Error: Command failed: C:\WINDOWS\system32\cmd.exe /s /c "touch configure.ac aclocal.m4 configure Makefile.am Makefile.in" │ 'touch' �����ڲ����ⲿ���Ҳ���ǿ����еij��� │ ���������ļ��� │ at D:\4_Project\2_project\workspace\mh-monorepo\node_modules.pnpm\registry.npmmirror.com+execa@0.7.0\node_modules\execa\index.js:231:11 │ at process.processTicksAndRejections (node:internal/process/task_queues:95:5)npm\registry.npmmirror.com+pngquant-bin@6.0.1\node_modules\pngquant-bin │ at async Promise.all (index 0) └─ Failed in 1m 11.3s at D:\4_Project\2_project\workspace\mh-monorepo\node_modules.pnpm\registry.npmmirror.com+jpegtran-bin@6.0.1\node_modules\jpegtran-bin node_modules/.pnpm/registry.npmmirror.com+pngquant-bin@6.0.1/node_modules/pngquant-bin: Running postinstall script, failed in 1m 10s .../node_modules/pngquant-bin postinstall$ node lib/install.js │ connect ETIMEDOUT 199.232.4.133:443 │ pngquant pre-build test failed │ compiling from source │ Error: pngquant failed to build, make sure that libpng-dev is installed │ at D:\4_Project\2_project\workspace\mh-monorepo\node_modules.pnpm\registry.npmmirror.com+execa@0.7.0\node_modules\execa\index.js:231:11 │ at process.processTicksAndRejections (node:internal/process/task_queues:95:5) │ at async Promise.all (index 0) └─ Failed in 1m 10s at D:\4_Project\2_project\workspace\mh-monorepo\node_modules.pnpm\registry.npmmirror.com+pngquant-bin@6.0.1\node_modules\pngquant-bin  ELIFECYCLE  Command failed with exit code 1.