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

Error: pngquant failed to build, make sure that libpng-dev is installed #689

Closed
s-pyadyshev opened this issue Aug 12, 2020 · 1 comment
Closed

Comments

@s-pyadyshev
Copy link

$ yarn
yarn install v1.22.4
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
info [email protected]: The platform "win32" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "win32" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[4/5] Linking dependencies...
warning " > [email protected]" has unmet peer dependency "immutable@^3.8.1 || ^4.0.0-rc.1".
warning " > [email protected]" has unmet peer dependency "redux@^3.6.0 || ^4.0.0".
warning " > [email protected]" has unmet peer dependency "seamless-immutable@^7.1.3".
warning " > [email protected]" has unmet peer dependency "redux@^2.0.0 || ^3.0.0 || ^4.0.0-0".
warning " > [email protected]" has incorrect peer dependency "eslint@^5 || ^6".
[5/5] Building fresh packages...
[10/12] ⠂ cwebp-bin
[2/12] ⠂ node-sass
[-/12] ⠂ waiting...
[-/12] ⠄ waiting...
warning Error running install script for optional dependency: "C:\projects\react-cool-starter\node_modules\pngquant-bin: Command failed.
Exit code: 1
Command: node lib/install.js
Arguments:
Directory: C:\projects\react-cool-starter\node_modules\pngquant-bin
Output:
‼ Command failed: C:\projects\react-cool-starter\node_modules\pngquant-bin\vendor\pngquant.exe --version

‼ pngquant pre-build test failed
i compiling from source
× Error: pngquant failed to build, make sure that libpng-dev is installed
at C:\projects\react-cool-starter\node_modules\bin-build\node_modules\execa\index.js:231:11
Done in 73.50s.

@wellyshen
Copy link
Owner

@s-pyadyshev See if you can find the solution via this open issue.

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