Skip to content

3.0为什么运行hexo deploy没有反应啊?(Hexo Deploy hanging in 3.0) #1154

Closed
@chenhongbinjs

Description

@chenhongbinjs

3.0为什么运行hexo deploy没有反应啊?
能不能详细介绍一下发布到github以及教程什么的?

Activity

chenhongbinjs

chenhongbinjs commented on Mar 30, 2015

@chenhongbinjs
Author

已经找到原因了,:后面需要有一个空格,这个真变态。

(Translation:
Found the reason, after : needs a space.)

Xuanwo

Xuanwo commented on Mar 30, 2015

@Xuanwo
Contributor

搞定了就close吧,并不是变态,yml就是这样而已

allengaller

allengaller commented on Apr 3, 2015

@allengaller

报告, 我有空格, 可是一直报错:
hexo deploy
ERROR Deployer not found: github

Source:
69 deploy:$
70 type: github$
71 repo: git@github.com:allengaller/allengaller.github.io.git$
72 branch: master$

allengaller

allengaller commented on Apr 3, 2015

@allengaller

我也是3.0

Xuanwo

Xuanwo commented on Apr 3, 2015

@Xuanwo
Contributor

因为现在并没有github这个type了- -,你需要首先安装hexo-deployer-git,然后将github修改为git= =。

iqiancheng

iqiancheng commented on Apr 8, 2015

@iqiancheng

npm install hexo-deployer-git --save

type: git

Xuanwo

Xuanwo commented on Apr 8, 2015

@Xuanwo
Contributor
lynulzy

lynulzy commented on Apr 10, 2015

@lynulzy

赞 +1

chenhongbinjs

chenhongbinjs commented on Apr 12, 2015

@chenhongbinjs
Author

我已经解决了,我是后面的冒号后面没有加空格。

xiangfly11

xiangfly11 commented on May 15, 2015

@xiangfly11

我没搞明白你说的空格是什么意思?我按照你说的在deploy:后面加了空格,然后hexo clean,hexo generate,hexo deploy之后还是没有反应

Xuanwo

Xuanwo commented on May 16, 2015

@Xuanwo
Contributor

@xiangfly11 yml对格式的要求是这样的变量名: 参数,每一个参数项前都必须有一个半角的空格。

xiangfly11

xiangfly11 commented on May 16, 2015

@xiangfly11

@Xuanwo 谢谢你,我已经解决了

zhangzhaoaaa

zhangzhaoaaa commented on Jul 7, 2015

@zhangzhaoaaa

赞赞赞,太坑了,就是冒号后少空格 。。。。
如以下可以执行:
deploy:
type: git
但,你等着吧,等到地老天荒,海哭石烂,盘古重新开天劈地,女娲重新造人,亚当重新偷吃禁果,hexo delpoy命令也没有毛蛋反应(话说毛蛋还是比较香的,好久没吃了。。。)
以下不能执行:
deploy:
type:git

liu0fanyi

liu0fanyi commented on Sep 1, 2015

@liu0fanyi

加上空格后依然没有反应,执行了hexo clean依然没有反应。。。。

35 remaining items

TyreeZhao

TyreeZhao commented on Aug 26, 2016

@TyreeZhao

@iTofu 是的
$ rm -rf .deploy_git
然后再 hexo d 就好了,我也是deploy到一半就不动了的情况

jeremy-linchao

jeremy-linchao commented on Nov 1, 2016

@jeremy-linchao

如果一下子就好了,就是少了个空格的原因

ddddszr

ddddszr commented on Nov 3, 2016

@ddddszr

昨天晚上没有任何问题,今天早上更新了一篇博文hexo
g -d更新上去,主页显示不出来任何文字,但是本地网页没有任何问题,详情请见:https://www.zhihu.com/question/52240149?from=profile_question_card @Xuanwo 谢谢!

definedw

definedw commented on Dec 25, 2016

@definedw

你好,有个问题我找了好久都没有找到答案,不知道大家有没有时间帮我看一下:
Collecting
events.js:160
throw er; // Unhandled 'error' event
^

Error: read ETIMEDOUT
at exports._errnoException (util.js:1026:11)
at TCP.onread (net.js:569:26)
哦,我这里用的是ftpsync
_yml配置也贴上:
deploy:
type: ftpsync
host: san.si.dian
user: hexo
pass: 123456
remote: /home/hexo/blog
port: 21
ignore: ['/node_modules','/source']
connections: 1
verbose: false

wangziling

wangziling commented on Feb 20, 2017

@wangziling

空格、。。我的天

Dirwu

Dirwu commented on Mar 7, 2017

@Dirwu

我是deploy到仓库出了问题
$ hexo clean
INFO Deleted databas.
INFO Deleted public folder.

$ hexo generate
INFO Start processing
.....
INFO 28 files generate in 1.08 s

$ hexo deploy
$ hexo deploy
然后输如hexo deploy时,没反应,输入一个,enter一下,它就跳出来输入的光标,然后一直输入,他就一直重复,根本没有跳到教程的页面

wangziling

wangziling commented on Mar 8, 2017

@wangziling

@Dirwu 你是不是在配置那个repo的时候,没在冒号后面空格一下 再输入配置

HHcola

HHcola commented on Mar 30, 2017

@HHcola

确实需要空格,好坑啊

xa566

xa566 commented on Apr 16, 2017

@xa566

成功提示是什么?

xa566

xa566 commented on Apr 16, 2017

@xa566

我最后出来个lo in 界面然后登入了,但还是没有成功上传

changed the title [-]3.0为什么运行hexo deploy没有反应啊?[/-] [+]3.0为什么运行hexo deploy没有反应啊?(Hexo Deploy hanging in 3.0)[/+] on Apr 16, 2017
zy943453722

zy943453722 commented on Sep 8, 2017

@zy943453722

@Dirwu 我也是那个问题,请问你解决了么?怎么解决的?

xz491839007

xz491839007 commented on Oct 9, 2017

@xz491839007

我是发现在你hexo的目录下,有多余的文件夹。然后删掉多余的文件夹就可以了

jovensun

jovensun commented on Feb 24, 2018

@jovensun

@definedw 请问你现在解决了嘛?我也是Error: read ETIMEDOUT的问题

yangcf

yangcf commented on Mar 6, 2018

@yangcf

我也出现d后没反应,最后发现是分支写错了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @allengaller@chenhongbinjs@CrownFish-Hsu@zhangzhaoaaa@HHcola

        Issue actions

          3.0为什么运行hexo deploy没有反应啊?(Hexo Deploy hanging in 3.0) · Issue #1154 · hexojs/hexo