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,编译一小时了还没完,这不正常吧?应该怎么办?

《L03 构架 API 服务器》
你将学到如 RESTFul 设计风格、PostMan 的使用、OAuth 流程,JWT 概念及使用 和 API 开发相关的进阶知识。
《L02 从零构建论坛系统》
以构建论坛项目 LaraBBS 为线索,展开对 Laravel 框架的全面学习。应用程序架构思路贴近 Laravel 框架的设计哲学。
最佳答案

问题已解决。需要装一下libpng16-dev

sudo apt-get install libpng16-dev

file

参考链接:https://github.com/imagemin/imagemin-mozjp...

6年前 评论
讨论数量: 4

file

mozjpeg编译失败了,应该如何修复?

6年前 评论

问题已解决。需要装一下libpng16-dev

sudo apt-get install libpng16-dev

file

参考链接:https://github.com/imagemin/imagemin-mozjp...

6年前 评论

这个好~~拯救了我的一天

5年前 评论

@Larry_Rui 可我在安装libpng16-dev时提示我:

file
还是之前的老样子,无法继续,请问如何处理?

5年前 评论

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!