It's good to be single 2022-04-23 19:10 采纳率: 100%
浏览 759
已结题

hexo推送出错err: Error: Spawn failed怎么解决?

网上查了解决方法几乎都是叫删除.deploy_git重新推送。但依旧无效,我type git也是用ssh的。


ssh: connect to host github.com port 22: Connection timed out
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
[41mFATAL[49m {
err: Error: Spawn failed
at ChildProcess. (C:\Users\17417\hylx\node_modules\hexo-util\lib\spawn.js:51:21)
at ChildProcess.emit (node:events:527:28)
at ChildProcess.cp.emit (C:\Users\17417\hylx\node_modules\cross-spawn\lib\enoent.js:34:29)
at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12) {
code: 128
}
}


以上是出错代码,怎么搞啊,折腾了一下午了。

  • 写回答

1条回答 默认 最新

  • It's good to be single 2022-04-23 20:55
    关注

    密钥出错,自己更新了一下就解决了😓

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

问题事件

  • 系统已结题 5月1日
  • 已采纳回答 4月23日
  • 创建了问题 4月23日

悬赏问题

  • ¥15 宇视监控服务器无法登录
  • ¥15 PADS Logic 原理图
  • ¥15 PADS Logic 图标
  • ¥15 电脑和power bi环境都是英文如何将日期层次结构转换成英文
  • ¥15 DruidDataSource一直closing
  • ¥20 气象站点数据求取中~
  • ¥15 如何获取APP内弹出的网址链接
  • ¥15 wifi 图标不见了 不知道怎么办 上不了网 变成小地球了
  • ¥50 STM32单片机传感器读取错误
  • ¥50 power BI 从Mysql服务器导入数据,但连接进去后显示表无数据