The imagemin-mozjpeg package might not be installed in mac osx.
In my laptop it throws the errors as below:
⚠ mozjpeg pre-build test failed
ℹ compiling from source
✖ Error: autoreconf -fiv && ./configure --disable-shared --prefix="/Users/lv/dev/workspace/github/o2/o2team.github.io/node_modules/mozjpeg/vendor" --bindir="/Users/lv/dev/workspace/github/o2/o2team.github.io/node_modules/mozjpeg/vendor" --libdir="/Users/lv/dev/workspace/github/o2/o2team.github.io/node_modules/mozjpeg/vendor" && make --jobs=4 && make install --jobs=4
Command failed: autoreconf -fiv
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --output=aclocal.m4t
Can't exec "aclocal": No such file or directory at /usr/local/Cellar/autoconf/2.69/share/autoconf/Autom4te/FileUtils.pm line 326.
autoreconf: failed to run aclocal: No such file or directory
After doing some google staff, i found the answer here:
The
imagemin-mozjpeg
package might not be installed in mac osx.In my laptop it throws the errors as below:
After doing some google staff, i found the answer here:
https://github.com/imagemin/imagemin-mozjpeg/issues/1
In mac osx, we should install some extra packages, maybe you should add the instructions to the
Readme
file.