Closed liuyingqiao2019 closed 2 years ago
看起来你没有安装 wordcount,参照 安装步骤 安装一下主题。
此外,如果你是重新安装的 hexo,那么可能是 hexo 版本过高的问题,我最近就是遇到这个问题导致生成的 html 为空,参见 hexo 生成的 html 文件为空的问题 · Alan Lee。
Absolutely right。
请使用 这里 的命令安装主题:
# 首先移动到 Hexo 根目录下
npm i hexo-generator-json-content --save && npm i --save hexo-wordcount && git clone https://github.com/fi3ework/hexo-theme-archer.git themes/archer --depth=1
这行命令做了如下的事情:
如果没有更多问题,我将关闭此 Issue 😄
使用hexo g -debug命令发现报错如下:
跪求大佬解答