yarn install --no-bin-links 后一直显示 mozjpeg: compiling from source?
vagrant@homestead:~/Code/sample$ yarn install --no-bin-links
yarn install v0.27.5
info No lockfile found.
[1/4] Resolving packages...
warning laravel-mix > img-loader > imagemin-gifsicle > gifsicle > bin-build > do wnload > gulp-decompress > gulp-util@3.0.8: gulp-util is deprecated - replace it , following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f...
[2/4] Fetching packages...
warning fsevents@1.1.3: The platform "linux" is incompatible with this module.
info "fsevents@1.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
[-/6] ⠂ waiting...
[-/6] ⠄ waiting...
[3/6] ⠄ mozjpeg: ℹ compiling from source
[-/6] ⠄ waiting...
[-/6] ⠄ waiting...
好像是在编译mozjpeg,编译一小时了还没完,这不正常吧?应该怎么办?
问题已解决。需要装一下libpng16-dev
参考链接:https://github.com/imagemin/imagemin-mozjp...