next-theme / hexo-word-counter

⏱️ Word count and time to read of articles for Hexo, written in Rust
https://www.npmjs.com/package/hexo-word-counter
GNU Lesser General Public License v3.0
31 stars 3 forks source link

Empty pages generated after upgrading 0.1.0 #30

Closed njzjz closed 1 year ago

njzjz commented 1 year ago

See njzjz/njzjz.github.io#1150. The preview of the home page is an empty file.

Reverting it in https://github.com/njzjz/njzjz.github.io/pull/1151 just fixes it.

By the way, is there a way to catch this kind of error in the CI? Hexo gives no errors for it.

stevenjoezhang commented 1 year ago

This seems to be a problem caused by older glibc version used by cloudflare pages. I will recompile the binary code.

stevenjoezhang commented 1 year ago

Cloudflare is using Linux kernel 4.4.0 with GLIBC 2.23-0ubuntu11. I have recompiled index.node on Ubuntu 16, it should work with Cloudflare pages now.

And I found another issue, installing both hexo-word-counter and hexo-optimize plugins will result in a segmentation fault during Cloudflare pages building. However, it's working normally with GitHub Actions.

njzjz commented 1 year ago

It works for me.