Skip to content

[Bug]: 有时候会导致hexo g无效 #646

@Donis2

Description

@Donis2

问题描述及如何重现此问题

我发现这个插件会导致hexo g无效,必须使用hexo generate。如果使用hexo g,就会弹出一些hexo的命令列表,应该是没法识别hexo g。

报错信息(建议使用截图,请尽量截取全部把错误信息)

HUAWEI@Donis MINGW64 /d/Code/Hexo/anzhiyu
$ hexo g
INFO Validating config
INFO

█████╗ ███╗ ██╗███████╗██╗ ██╗██╗██╗ ██╗██╗ ██╗
██╔══██╗████╗ ██║╚══███╔╝██║ ██║██║╚██╗ ██╔╝██║ ██║
███████║██╔██╗ ██║ ███╔╝ ███████║██║ ╚████╔╝ ██║ ██║
██╔══██║██║╚██╗██║ ███╔╝ ██╔══██║██║ ╚██╔╝ ██║ ██║
██║ ██║██║ ╚████║███████╗██║ ██║██║ ██║ ╚██████╔╝
╚═╝ ╚═╝╚═╝ ╚═══╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝

                        1.6.14

===================================================================
Usage: hexo

Commands:
bangumi Generate pages of bangumi for Hexo
cinema Generate pages of cinema for Hexo
clean Remove generated files and cache.
config Get or set configurations.
deploy Deploy your website.
game Generate pages of game for Hexo
generate Generate static files.
help Get help on a command.
init Create a new Hexo folder.
list List the information of the site
migrate Migrate your site from other system to Hexo.
new Create a new post.
publish Moves a draft post from _drafts to _posts folder.
render Render files with renderer plugins.
server Start the server.
version Display version information.

Global Options:
--config Specify config file instead of using _config.yml
--cwd Specify the CWD
--debug Display all verbose messages in the terminal
--draft Display draft posts
--safe Disable all plugins and scripts
--silent Hide output on console

For more help, you can use 'hexo help [command]' for the detailed information
or you can check the docs: https://hexo.io/docs/

插件版本

hexo-bilibili-bangumi@2.0.1

环境信息(使用hexo -v命令查看)

HUAWEI@Donis MINGW64 /d/Code/Hexo/anzhiyu
$ hexo -v
INFO  Validating config
INFO  
  ===================================================================

   █████╗ ███╗   ██╗███████╗██╗  ██╗██╗██╗   ██╗██╗   ██╗
  ██╔══██╗████╗  ██║╚══███╔╝██║  ██║██║╚██╗ ██╔╝██║   ██║
  ███████║██╔██╗ ██║  ███╔╝ ███████║██║ ╚████╔╝ ██║   ██║
  ██╔══██║██║╚██╗██║ ███╔╝  ██╔══██║██║  ╚██╔╝  ██║   ██║
  ██║  ██║██║ ╚████║███████╗██║  ██║██║   ██║   ╚██████╔╝
  ╚═╝  ╚═╝╚═╝  ╚═══╝╚══════╝╚═╝  ╚═╝╚═╝   ╚═╝    ╚═════╝

                            1.6.14
  ===================================================================
hexo: 7.3.0
hexo-cli: 4.3.2
os: win32 10.0.22621 undefined
node: 22.12.0
acorn: 8.14.0
ada: 2.9.2
amaro: 0.2.0
ares: 1.34.3
brotli: 1.1.0
cjs_module_lexer: 1.4.1
cldr: 46.0
icu: 76.1
llhttp: 9.2.1
modules: 127
napi: 9
nbytes: 0.1.1
ncrypto: 0.0.1
nghttp2: 1.64.0
nghttp3: 0.7.0
ngtcp2: 1.3.0
openssl: 3.0.15+quic
simdjson: 3.10.0
simdutf: 5.6.1
sqlite: 3.47.0
tz: 2024b
undici: 6.21.0
unicode: 16.0
uv: 1.49.1
uvwasi: 0.0.21
v8: 12.4.254.21-node.21
zlib: 1.3.0.1-motley-71660e1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions