Hexo deploy报错

原因是做过coding后,github地址和hexo中冲突


Please make sure you have the correct access rights
and the repository exists.
FATAL Something's wrong. Maybe you can find the solution here: https://hexo.io/d
ocs/troubleshooting.html
Error: Spawn failed
    at ChildProcess.task.on.code (C:\Users\dell\yanachong\node_modules\hexo-depl
oyer-git\node_modules\hexo-util\lib\spawn.js:51:21)
    at ChildProcess.emit (events.js:189:13)
    at ChildProcess.cp.emit (C:\Users\dell\yanachong\node_modules\hexo-deployer-
git\node_modules\cross-spawn\lib\enoent.js:34:29)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)

解决:把_config.yml中的repository 改了成了ssh
来自:

  • https://segmentfault.com/q/1010000003734223
  • https://www.cnblogs.com/tenderwx/p/5783432.html

本人博客:
yanachong.tech

你可能感兴趣的:(JS)