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

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日

悬赏问题

  • ¥20 机器学习能否像多层线性模型一样处理嵌套数据
  • ¥20 西门子S7-Graph,S7-300,梯形图
  • ¥50 用易语言http 访问不了网页
  • ¥50 safari浏览器fetch提交数据后数据丢失问题
  • ¥15 matlab不知道怎么改,求解答!!
  • ¥15 永磁直线电机的电流环pi调不出来
  • ¥15 用stata实现聚类的代码
  • ¥15 请问paddlehub能支持移动端开发吗?在Android studio上该如何部署?
  • ¥20 docker里部署springboot项目,访问不到扬声器
  • ¥15 netty整合springboot之后自动重连失效