Running the initial “yarn && yarn build” is erroring out with the following message…
An unexpected error occurred: "/web/app/themes/example_theme/node_modules/pngquant-bin:
Command failed.
Exit code: 1
Command: sh
Arguments: -c node lib/install.js
Directory: /web/app/themes/example_theme/node_modules/pngquant-bin
Output:
⚠ The `t/web/app/themes/example_theme/node_modules/pngquant-bin/vendor/pngquant` binary doesn't seem to work correctly
⚠ pngquant pre-build test failed
ℹ compiling from source
✔ pngquant pre-build test passed successfully
✖ Error: pngquant failed to build, make sure that libpng-dev is installed
at Promise.all.then.arr (/web/app/themes/example_theme/node_modules/pngquant-bin/node_modules/bin-build/node_modules/execa/index.js:231:11)
at <anonymous>
I see it says libpng-dev might not be installed, but doing a sudo apt install for that says it can’t be found? Made sure libpng is installed however.
You need the development package for libpng. What operating system/distribution are you using?
The package name may differ or the development files have to be installed manually on some.
I ran into the same problem with Ubuntu 17.10 while also just starting out with Sage 9. Has following the instructions in the link you provided helped you to solve the issue permanently* ?