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

[gatsby-plugin-sharp] npm install is broken by imagemin-pngquant dependency #4866

Closed
shaunbent opened this issue Apr 6, 2018 · 3 comments
Closed

Comments

@shaunbent
Copy link
Contributor

Description

This issue is pretty well documented down the chain but pngquant-bin a dependency of imagemin-pngquant is currently breaking the npm install process. It seems to be mainly effecting Linux systems aka common build environments. As a result, in my case I am not able to build and deploy my site.

imagemin/imagemin-pngquant#46
imagemin/pngquant-bin#78

I wonder if we could downgrade the version of imagemin-pngquant required by gatsby-plugin-sharp to 5.0.1 so avoid the broken version.

Environment

  • Gatsby version (npm list gatsby): [email protected]
  • gatsby-cli version (gatsby --version): 1.9.194
  • Node.js version: 9.8.0
  • Operating System: MacOS 10.13.4
@KyleAMathews
Copy link
Contributor

Yeah, that seems like a reasonable fix. Is there any big differences between pngquant-bin v3 and v4?

@shaunbent
Copy link
Contributor Author

Looks like v4 introduces a dependancy on Node V4 as well as this commit which is the one that seems to be causing everyone problems: imagemin/pngquant-bin#75

@shaunbent
Copy link
Contributor Author

#4915

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