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

I can not install @quasar/icongenie #7009

Closed
chulaiguo opened this issue May 12, 2020 · 8 comments
Closed

I can not install @quasar/icongenie #7009

chulaiguo opened this issue May 12, 2020 · 8 comments

Comments

@chulaiguo
Copy link

Error: pngquant failed to build, make sure that libpng-dev is installed

@chulaiguo
Copy link
Author

win10

@chulaiguo
Copy link
Author

I google that. but all the solution does not work ! installing windows-build-tools also does not work.

I don't know why. I re-install the node/quasar, but it does not work.

@pdanpdan
Copy link
Collaborator

If you cannot install windows build tools then there is a problem with the system. Most probably a company windows image

@chulaiguo
Copy link
Author

  1. C:\Windows\system32> npm install --global windows-build-tools
    ...
    All done!
  • windows-build-tools@5.2.2
  1. reboot the computer

  2. C:\Users\chulaiguo> npm install -g @quasar/icongenie
    ....
    × Error: pngquant failed to build, make sure that libpng-dev is installed

That's all. I try it many times, but the same result.

@rstoenescu
Copy link
Member

@chulaiguo Maybe this thread will help you: imagemin/imagemin-pngquant#46

Someone reports that it was an antivirus (Kaspersky) doing a false positive and ruining everything.

This other comment is interesting too: imagemin/imagemin-pngquant#46

Some other saying that "Windows 10 users, if you follow @hkniyi steps and still cannot install, your corporate firewall might be blocking the download. We had an https proxy firewall blocking it and that was the problem for me."

Please report back which solution worked for you so we can add it to the docs. Thank you.

@chulaiguo
Copy link
Author

I done! It's worked!

1.C:\Windows\system32> npm install --global windows-build-tools

  1. goto C:\Users{your PC username}.windows-build-tools, run vs_BuildTools.exe, and select npm, python to install.

  2. C:\Users{your PC username}> npm install -g @quasar/icongenie
    OK!

@bkirvin
Copy link

bkirvin commented Aug 27, 2024

Having the same problem on macOS Sonoma with Apple chip. Can windows build tools be installed on Mac?

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

No branches or pull requests

4 participants