Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

项目安装依赖报错 #49

Open
kangjinyuan opened this issue Dec 3, 2021 · 1 comment
Open

项目安装依赖报错 #49

kangjinyuan opened this issue Dec 3, 2021 · 1 comment

Comments

@kangjinyuan
Copy link

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

@hellorayza
Copy link

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\pngquant-bin@6.0.1\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\execa@0.7.0\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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants