-
Notifications
You must be signed in to change notification settings - Fork 23
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
npm install pngquant fails #14
Comments
I can't reproduce this (but I do have pngquant installed). This is a problem with https://github.com/imagemin/pngquant-bin, which is a dependency of this package (pngquant), but it seems like they have just released a new version that changes some build-related things. I updated to pngquant-bin@^4.0.0 now and released pngquant@2.0.0, could you try installing that instead? |
says
|
@mdaliyan, that sure looks odd. Could you try bringing it up with the pngquant-bin folks? |
I'm going to do that already. but the odd thing is i cannot install sorry for the previous post. i ran them before |
My Ubuntu install was so fresh. I tried to compile nodejs instead of using the repo version. after that |
Just for others running into that issue: The error-message might suggest otherwise, but also make sure you installed build-essentials. Obviously it can not build the binary from source without a compiler. So for ubuntu/debian, try: |
Thanks @Suven !! I tried dozens of other suggestions, this sorted it for me! |
It works!! Thanks a lot 😁 @Suven |
Thanks @Suven ! |
thank you so much, this solved the issue for me. |
This worked for me on CentOS 7:
(note |
Worked for me. Thanks |
Hi Guys, |
I'll close this as it was actually related to the |
thanks solved my problem! |
Thanks a lot @Suven. This issue was making me go crazy. lol |
Muito Obrigado pela dica. |
Confirm it worked on Linux 22, thanks @Suven |
I'm getting the below error when running
npm install pngquant
. Other users started getting this error today and have posted on stack overflow. Thank you for the help.pngquant failed to build, make sure that libpng is installed
The text was updated successfully, but these errors were encountered: