Open anran758 opened 4 years ago
When the image is compressed, an error is printed in the log, and after some images are compressed, the process is interrupted and the service is stopped.
hexo version:
hexo: 3.9.0 hexo-cli: 2.0.0 os: Darwin 17.7.0 darwin x64 http_parser: 2.8.0 node: 10.16.0 v8: 6.8.275.32-node.52 uv: 1.28.0 zlib: 1.2.11 brotli: 1.0.7 ares: 1.15.0 modules: 64 nghttp2: 1.34.0 napi: 4 openssl: 1.1.1b icu: 64.2 unicode: 12.1 cldr: 35.1 tz: 2019a // package.json "dependencies": { "babel-runtime": "^6.26.0", "hexo": "^3.9.0", "hexo-all-minifier": "^0.5.3", "hexo-deployer-git": "^1.0.0", "hexo-generator-archive": "^0.1.5", "hexo-generator-baidu-sitemap": "^0.1.6", "hexo-generator-category": "^0.1.3", "hexo-generator-feed": "^1.2.2", "hexo-generator-index": "^0.2.1", "hexo-generator-search": "^2.4.0", "hexo-generator-sitemap": "^1.2.0", "hexo-generator-tag": "^0.2.0", "hexo-leancloud-counter-security": "^1.4.1", "hexo-related-popular-posts": "^3.0.6", "hexo-renderer-ejs": "^0.3.1", "hexo-renderer-marked": "^1.0.1", "hexo-renderer-stylus": "^0.3.3", "hexo-server": "^0.3.3", "hexo-symbols-count-time": "^0.6.0" }
Log info:
➜ blog hexo s -p 9001 INFO Start processing INFO update Optimize IMG: images/algolia_logo.svg [ 0.61% saved] INFO update Optimize IMG: images/cc-by-nc-nd.svg [ 67.07% saved] INFO update Optimize IMG: images/cc-by-nc-sa.svg [ 66.35% saved] INFO update Optimize IMG: images/cc-by-nc.svg [ 67.80% saved] INFO update Optimize IMG: images/cc-by-nd.svg [ 67.57% saved] INFO update Optimize IMG: images/cc-by-sa.svg [ 67.16% saved] INFO update Optimize IMG: images/cc-zero.svg [ 33.52% saved] INFO update Optimize IMG: images/cc-by.svg [ 69.03% saved] INFO update Optimize IMG: images/quote-l.svg [ 45.62% saved] INFO update Optimize IMG: images/quote-r.svg [ 45.85% saved] INFO update Optimize IMG: images/logo.svg [ 73.07% saved] FATAL Something's wrong. Maybe you can find the solution here: https://hexo.io/docs/troubleshooting.html Error: spawn /Users/anran/OneDrive/blog/node_modules/mozjpeg/vendor/cjpeg ENOENT at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19) at onErrorNT (internal/child_process.js:415:16) at process._tickCallback (internal/process/next_tick.js:63:19) INFO update Optimize IMG: images/avatar.gif [ 0.45% saved] INFO update Optimize IMG: 2018/02/06/dev-zero-configuration-vscode/anima-4.gif [ 0.68% saved] INFO update Optimize IMG: 2018/02/06/dev-zero-configuration-vscode/anima-2.gif [ 0.13% saved] INFO update Optimize IMG: 2018/02/06/dev-zero-configuration-vscode/anima-7.gif [ 25.99% saved] INFO update Optimize IMG: 2018/02/06/dev-zero-configuration-vscode/anima-1.gif [ 0.00% saved] INFO update Optimize IMG: 2018/04/06/URL-to-browser/anima-1.gif [ 0.36% saved] INFO update Optimize IMG: 2018/02/06/dev-zero-configuration-vscode/anima-6.gif [ 12.28% saved] INFO update Optimize IMG: 2018/03/24/loading-pictures/anima-1.gif [ 0.09% saved] INFO Congratulations! Your are using the latest version of theme NexT. INFO update Optimize IMG: 2018/01/13/性能优化-前端性能优化/anima-1.gif [ 0.09% saved] INFO update Optimize IMG: 2017/12/23/关于点击下拉菜单模糊及可能造成boder上下一像素宽度不一的坑/bug.gif [ 9.91% saved] INFO update Optimize IMG: 2018/03/24/loading-pictures/diff-1.gif [ 3.17% saved] INFO update Optimize IMG: 2017/12/23/关于点击下拉菜单模糊及可能造成boder上下一像素宽度不一的坑/transition.gif [ 18.72% saved] INFO update Optimize IMG: 2018/03/24/loading-pictures/google-1.gif [ 3.16% saved] INFO update Optimize IMG: 2018/03/24/loading-pictures/diff-2.gif [ 2.19% saved] INFO update Optimize IMG: 2018/04/06/URL-to-browser/anima-2.gif [ 1.64% saved] INFO update Optimize IMG: 2018/01/15/性能优化-回流与重汇/repaint.gif [ 0.09% saved]
When the image is compressed, an error is printed in the log, and after some images are compressed, the process is interrupted and the service is stopped.
hexo version:
Log info: