question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

npm install is broken by pngquant-bin dependency

See original GitHub issue

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.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:2
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Klathmoncommented, Jul 27, 2018

I’ll update it later today and see if it solves the problem, thanks for the heads up!

And a PR is never overkill!

1reaction
codejetcommented, Jul 27, 2018

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…?).

Read more comments on GitHub >

github_iconTop Results From Across the Web

npm install is broken by pngquant-bin dependency #46 - GitHub
npm install fails with pngquant failed to build, make sure that libpng is installed. This pngquant-bin issue describes the problem in the ...
Read more >
Pngquant failed to build, make sure that libpng-dev is installed ...
Run the command to install the pngquant-bin package: npm install imagemin-pngquant --save // to install the latest OR npm install ...
Read more >
npm install failing to build pngquant, says it can't find libpng-dev
I'm trying to create a shell.nix for a work project and I'm running into a roadblock, as mentioned in the title.
Read more >
pngquant - npm
The pngquant command line utility as a readable/writable stream. The constructor optionally takes an array of command line options for the ...
Read more >
npm error - Laracasts
Hi, I am using laravel 5.8 and while installing npm, npm install i got this ... Please help me npm WARN reify invalid...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found