n/programu/outlandish · 2024-10-13
注册 登录
n/program · 2024-10-13 · 383 次浏览
u/outlandish白银

hexo在vscode中无法识别

VSCODE:
PS D:\hexo_Blog> hexo cl; hexo s
Usage: hexo <command>

Commands:
help Get help on a command.
init Create a new Hexo folder.
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/
Usage: hexo <command>

Commands:
help Get help on a command.
init Create a new Hexo folder.
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/
PS D:\hexo_Blog> hexo -v
hexo-cli: 4.3.2
os: win32 10.0.22631 undefined
node: 22.9.0
acorn: 8.12.1
ada: 2.9.0
amaro: 0.1.8
ares: 1.33.1
brotli: 1.1.0
cjs_module_lexer: 1.4.1
cldr: 45.0
icu: 75.1
llhttp: 9.2.1
modules: 127
napi: 9
nbytes: 0.1.1
ncrypto: 0.0.1
nghttp2: 1.63.0
nghttp3: 0.7.0
ngtcp2: 1.3.0
openssl: 3.0.13+quic
simdjson: 3.10.0
simdutf: 5.5.0
sqlite: 3.46.1
tz: 2024a
undici: 6.19.8
unicode: 15.1
uv: 1.48.0
uvwasi: 0.0.21
v8: 12.4.254.21-node.19
zlib: 1.3.0.1-motley-71660e1

Git Bash:
[upl-image-preview url=https://www.nodeloc.com/uploads/default/2024-10-12/1728740943-255092-image.png]

请问,这是怎么回事,为什么hexo -v可以识别,但是hexo cl; hexo s就无法运行?但是我在git bash却是可以运行的
Node 是装在 c 盘的

0
1
登录后参与讨论。

1 条回复

排序
  1. yucho 荣誉会员 钻石 2024-10-13

    vsc环境配置有问题吧

    0