编程知识 cdmana.com

Summary of some problems encountered in using GitHub + hexo to build personal blog

To prevent forgetting small tip: Write it down ~

1. SSH Public key generation problem

git@github.com: Permission denied (publickey). fatal: Could not read
from remote repository.

Please make sure you have the correct access rights and the repository
exists. FATAL { err: { Error: Spawn failed
at ChildProcess.task.on.code (C:\Users\rabbit\Desktop\test\node_modules_hexo-util@1.9.1@hexo-util\lib\spawn.js:51:21)
at ChildProcess.emit (events.js:189:13)
at ChildProcess.cp.emit (C:\Users\rabbit\Desktop\test\node_modules_cross-spawn@7.0.3@cross-spawn\lib\enoent.js:34:29)
at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12) code: 128 } } ‘Something’s wrong.
Maybe you can find the solution here: %s’
‘https://hexo.io/docs/troubleshooting.html’






-------> Solution !!!

2.ERROR Deployer not found: git

Solution :npm install --save hexo-deployer-git ( Look at other people's solutions ), Finally, I did it through cnpm install --save hexo-deployer-git Solved , It's a little confusing .

3.ERROR Local hexo loading failed in ~\Desktop\test

-------> Solution !!!

版权声明
本文为[osc_i2zebhtf]所创,转载请带上原文链接,感谢

Scroll to Top