用 hexo-d 发布博客的时候报错如下:
fatal: unable to access 'https://github.com/xx/xx.github.io/': OpenS
SL SSL_read: Connection was reset, errno 10054
FATAL {
err: Error: Spawn failed
at ChildProcess.<anonymous> (D:\Blog\hexo\node_modules\hexo-util\lib\spawn
.js:51:21)
at ChildProcess.emit (events.js:315:20)
at ChildProcess.cp.emit (D:\Blog\hexo\node_modules\cross-spawn\lib\enoent.
js:34:29)
at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
{
code: 128
}
} Something's wrong. Maybe you can find the solution here: %s https://hexo.io/do
cs/troubleshooting.html
试了包括像重新登录ssh等方法都没用,最后发现可能是代理问题或者是校网太慢,第二天起来就没问题了。