When I first install roots sage 9. I’m getting an error on compiling when I run the command yarn in the theme directory on pngquant.
Below you see the error. Any ideas? I’m running MacOS X Mojave and use the latest yarn en node.js
.
[7/8] ⠂ pngquant-bin: ℹ compiling from source
error /Users/username/Documents/webdev/site/wp-content/themes/mytheme/node_modules/pngquant-bin: Command failed.
Exit code: 1
Command: node lib/install.js
Arguments:
Directory: /Users/username/Documents/webdev/site/wp-content/themes/mytheme/node_modules/pngquant-bin
Output:
⚠Response code 503 (Backend unavailable, connection timeout)
⚠pngquant pre-build test failed
ℹ compiling from source
✖ Error: pngquant failed to build, make sure that libpng is installed