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)
伊谢尔伦2017-04-17 13:44:18
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.
黄舟2017-04-17 13:44:18
錯誤顯示你這是連接到github超時。使用下面的指令偵測是否可以連接上github:
$ ssh -T git@github.com
如果出現類似紅框中的文字即說明可以連接到github,如果沒有的話,可能是你的配置有問題,請仔細檢查下你的配置。配置的Github遠端倉庫的位址最好使用SSH的位址。
我的配置如下:
deploy:
type: git
repo: ssh://git@github.com/dkylin/dkylin.github.io.git
branch: master