依赖:
"hexo-symbols-count-time": "^0.4.4"
相关配置_config.yml:
symbols_count_time:
symbols: true
time: true
theme_config:
symbols_count_time:
separated_meta: true
item_text_post: true
item_text_total: false
awl: 2
wpm: 300
所有文章都显示:

hexo-symbols-count-time的最新版本是0.6.0,需要升级或重新安装
https://github.com/theme-next/hexo-symbols-count-time/releases
GitHub
Symbols count and time to read of articles plugin for Hexo. - theme-next/hexo-symbols-count-time
I used the CI deployment with npm install hexo-symbols-count-time --save, but still has no counts.
$ npm install hexo-symbols-count-time --save
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
+ [email protected]
updated 1 package and audited 17841 packages in 4.424s
found 3 low severity vulnerabilities
run `npm audit fix` to fix them, or `npm audit` for details
I have no idea why npm installed v0.3.2 (an outdated version) by default...
https://www.npmjs.com/package/hexo-symbols-count-time
Try:
npm install hexo-symbols-count-time@^0.6.0 --save
npm i hexo-symbols-count-time@latest
# or
npm i [email protected]
# or
rm package-lock.json
npm i hexo-symbols-count-time
# or
npm un hexo-symbols-count-time
npm i hexo-symbols-count-time
多谢回答,把hexo-symbols-count-time升级到0.6.0就解决了
Most helpful comment