sergeyzwezdin / hexo-images Goto Github PK
View Code? Open in Web Editor NEWToolset to opimize images for Hexo static site generator
Home Page: https://hexo.io/
License: MIT License
Toolset to opimize images for Hexo static site generator
Home Page: https://hexo.io/
License: MIT License
Hello,
I was trying to use hexo-images in my blog since it seems to make working with images so much easier. However I keep getting a warning There is no images metadata for the post
when running hexo server
and FATAL { err: [Error: ENOTDIR: not a directory, mkdir] { errno: -4052, code: 'ENOTDIR', syscall: 'mkdir' } }
when running hexo generate
.
Images are being converted correctly to 1x and 2x, both in webp and jpg
I wonder if you could point out where the error might be.
Thanks!
$ hexo generate
INFO Validating config
(process:5903): GLib-GObject-WARNING **: 00:56:19.299: cannot register existing type 'gchar'
**
GLib-GObject:ERROR:../gobject/gvaluetypes.c:454:_g_value_types_init: assertion failed: (type == G_TYPE_CHAR)
Bail out! GLib-GObject:ERROR:../gobject/gvaluetypes.c:454:_g_value_types_init: assertion failed: (type == G_TYPE_CHAR)
Aborted
Hi,
I am trying to using hexo-images with an alpine linux docker image: https://hub.docker.com/layers/node/library/node/15-alpine3.13/images/sha256-2aa12f34419e79d71d5fcf992c2ff6d76778ed0fb97a1427bab800c55903b9d7?context=explore
It fails at the step needed to install jpeg-recompress-bin
. Any idea how to circumvent this? Appears to be just an Alpine linux issue:
1102 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "--global" "jpeg-recompress-bin"
1103 verbose node v15.8.0
1104 verbose npm v7.5.1
1105 error code 1
1106 error path /usr/local/lib/node_modules/jpeg-recompress-bin
1107 error command failed
1108 error command sh -c node lib/install.js
1109 error โ spawn /usr/local/lib/node_modules/jpeg-recompress-bin/vendor/jpeg-recompress ENOENT
1109 error โ jpeg-recompress pre-build test failed
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.