vben-admin-thin-next icon indicating copy to clipboard operation
vben-admin-thin-next copied to clipboard

项目安装依赖报错

Open kangjinyuan opened this issue 4 years ago • 1 comments

项目更新为2.8的版本,我本地 node 版本是 14.16.0,导致安装包失败?看报错需要升级node版本为16以上,是必须这么干吗?

kangjinyuan avatar Dec 03 '21 10:12 kangjinyuan

The same with node16.13.1

.../node_modules/pngquant-bin postinstall$ node lib/install.js
│ Command failed: D:\code\vben-admin-thin-next\node_modules\.pnpm\[email protected]\node_modules\pngquant-bin\vendor\pngquant.exe --version
│ compiling from source
│ pngquant pre-build test failed
│ Error: pngquant failed to build, make sure that libpng-dev is installed
│     at D:\code\lan\gene-repo\node_modules\.pnpm\[email protected]\node_modules\execa\index.js:231:11
│     at runMicrotasks (<anonymous>)
│     at processTicksAndRejections (node:internal/process/task_queues:96:5)
│     at async Promise.all (index 0)
└─ Failed in 336ms

hellorayza avatar Jan 04 '22 07:01 hellorayza