-
Notifications
You must be signed in to change notification settings - Fork 53
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 is broken by pngquant-bin dependency #56
Comments
Unfortunately this is a problem with pngquant and not something I can fix. However, I did just update an old branch named You should include it in your package.json like this:
You will need to manually install any plugins you want yourself and put their options in the Don't rely on this branch sticking around for a long time though, or ever getting updated. If you are going to use this long-term, i'd recommend forking this repo and pointing to the |
Even though the code fix will be outside of imagemin-webpack-plugin, I would suggest keeping this issue open while users are unable to |
Fair enough! I won't really be checking back on it all that often though, so if someone notices that this is fixed ping me here so I can close this and update anything that's needed. |
Version 6.0.0 of imagemin-pngquant was released. Maybe it fixes this issue? If so, updating the dependency would be nice (I guess a PR for that would be overkill...?). |
I'll update it later today and see if it solves the problem, thanks for the heads up! And a PR is never overkill! |
@anthonyaam version 2.2.0 of this plugin was published that upgrades imagemin to version 6. Can you give it a try at some point and see if it solves your issues? Thanks! |
@Klathmon I change imagemin-webpack-plugin version to 2.2.0, and npm install, still it trys to install [email protected] and failed, I don't know why. |
I'm getting the below error when running
npm install imagemin-webpack-plugin
.pngquant failed to build, make sure that libpng is installed
This pngquant-bin issue describes the problem in the pngquant-bin dependency.
The text was updated successfully, but these errors were encountered: