Roots Discourse

First init root sage 9.0.9 error on pngquant


#1

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

#2

May be related to this issue: https://github.com/imagemin/pngquant-bin/pull/99


#3

This does look like the exact same problem. I also see this update isn’t yet committed to the master version. Is there a workaround for this, so I am able to finish installation for now?