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

Pngquant failed to build, make sure that libpng is installed #2

Open
linneati opened this issue Jun 27, 2023 · 2 comments
Open

Pngquant failed to build, make sure that libpng is installed #2

linneati opened this issue Jun 27, 2023 · 2 comments

Comments

@linneati
Copy link

I'm taking the web performance fundamentals course on frontendmasters but I can't install the dependencies in this repo and therefore can't do the exercise. When running npm install I get the following error

npm ERR! pngquant pre-build test failed
npm ERR! Error: pngquant failed to build, make sure that libpng is installed

@toddhgardner
Copy link
Owner

I don't see this issue locally. make sure you are running the correct nodejs & npm versions, 18.12.1, 8.19.2

@butkovv
Copy link

butkovv commented Aug 3, 2023

I've got the same issue while trying to run this on MacOS Ventura 13.4.1 with yarn, even with correct nodejs & npm versions.

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

3 participants