Hexo部署错误:err: Error: Spawn failed
err: Error: Spawn failed
at ChildProcess.<anonymous> (E:\HexoWeb\node_modules\hexo-util\lib\spawn.js:51:21)
at ChildProcess.emit (node:events:526:28)
at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12) {
code: 128
}
暴力删除.deploy_git
,然后直接hexo三步:
hexo clean
hexo g
hexo d
还有可能就是没有连接上github,那就是网络/墙的问题了(嗯,想办法)。可以试试ping一下github。或者用国内的代码仓库Gitee,GitCode。