最近用Hexo博客部署到GitHub时出现了这如下的错误:

Error: spawn ENOENT
    at errnoException (child_process.js:980:11)
    at Process.ChildProcess._handle.onexit (child_process.js:771:34)

解决方法是:
在cmd中敲命令导致无法上传github,改为在git bash中deploy 后正常。因为可能当初装git时只使用 git bash,导致cmd中无法使用git命令。

相关文章:

  • 2022-12-23
  • 2021-08-31
  • 2022-12-23
  • 2021-11-20
  • 2022-12-23
  • 2021-09-10
  • 2021-10-29
  • 2022-12-23
猜你喜欢
  • 2021-10-20
  • 2021-09-29
  • 2021-05-13
  • 2021-09-08
  • 2021-08-04
  • 2022-12-23
相关资源
相似解决方案