node.js - hexo搭建博客过程中出现的问题

查看:320
本文介绍了node.js - hexo搭建博客过程中出现的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问 题

hexo d 的时候出现如下错误,不知道怎么结局

fatal: unable to access 'https://github.com/769824456/769824456.github.io.git/': Failed to connect to github.com port 443: Timed out
FATAL Something's wrong. Maybe you can find the solution here: http://hexo.io/docs/troubleshooting.html
Error: fatal: unable to access 'https://github.com/769824456/769824456.github.io.git/': Failed to connect to github.com port 443: Timed out

at ChildProcess.<anonymous> (E:\NoteData\hexo\node_modules\hexo-util\lib\spawn.js:37:17)
at emitTwo (events.js:100:13)
at ChildProcess.emit (events.js:185:7)
at ChildProcess.cp.emit (E:\NoteData\hexo\node_modules\cross-spawn-async\lib\enoent.js:37:29)
at maybeClose (internal/child_process.js:850:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)

FATAL fatal: unable to access 'https://github.com/769824456/769824456.github.io.git/': Failed to connect to github.com port 443: Timed out

Error: fatal: unable to access 'https://github.com/769824456/769824456.github.io.git/': Failed to connect to github.com port 443: Timed out

at ChildProcess.<anonymous> (E:\NoteData\hexo\node_modules\hexo-util\lib\spawn.js:37:17)
at emitTwo (events.js:100:13)
at ChildProcess.emit (events.js:185:7)
at ChildProcess.cp.emit (E:\NoteData\hexo\node_modules\cross-spawn-async\lib\enoent.js:37:29)
at maybeClose (internal/child_process.js:850:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)

解决方案

hexo d是发布到github的命令,目测你的错误是链接到github超时。https的默认端口是443 可能是因为网速的原因。可以先试试能否访问github.com。然后再发布

Make sure you have set up git on your computer properly or try to use HTTPS repository URL instead.

这篇关于node.js - hexo搭建博客过程中出现的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆