防止忘记小tip:写下来~
1. SSH公钥生成问题
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’
------->解决方案!!!
2.ERROR Deployer not found: git
解决方案:npm install --save hexo-deployer-git
(看的别人的解决方案),最后我是通过cnpm install --save hexo-deployer-git
解决的,有点搞不懂。
3.ERROR Local hexo loading failed in ~\Desktop\test
------->解决方案!!!