coneycode / hexo-git-backup

you can use it to backup your blog into git.
MIT License
458 stars 66 forks source link

这个报错如何解决呢 #43

Open peteryzy opened 4 years ago

peteryzy commented 4 years ago

events.js:287 throw er; // Unhandled 'error' event ^

hexo backup Error: spawn rm ENOENT at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19) at onErrorNT (internal/child_process.js:469:16) at processTicksAndRejections (internal/process/task_queues.js:84:21) Emitted 'error' event on ChildProcess instance at: at Process.ChildProcess._handle.onexit (internal/child_process.js:273:12) at onErrorNT (internal/child_process.js:469:16) at processTicksAndRejections (internal/process/task_queues.js:84:21) { errno: 'ENOENT', code: 'ENOENT', syscall: 'spawn rm', path: 'rm', spawnargs: [ '-rf', '.git' ] }