New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR Deployer not found: git when using hexo-generator-sitemap #1848

Closed
panlei7 opened this Issue Mar 23, 2016 · 12 comments

Comments

6 participants
@panlei7

panlei7 commented Mar 23, 2016

如果我使用sitemap,其中需要在站点配置文件中添加:

plugins:
- hexo-generator-sitemap

然后执行

hexo deploy

出现

ERROR Deployer not found: git

如果我把它注释掉,就没有问题,这是怎么回事?

#plugins:
#- hexo-generator-sitemap
@Xuanwo

This comment has been minimized.

Show comment
Hide comment
@Xuanwo

Xuanwo Mar 23, 2016

Contributor

你已经安装好hexo-deployer-git了么?

Contributor

Xuanwo commented Mar 23, 2016

你已经安装好hexo-deployer-git了么?

@panlei7

This comment has been minimized.

Show comment
Hide comment
@panlei7

panlei7 Mar 23, 2016

已经安装好hexo-deployer-git,如果没有在站点配置文件添加hexo-generator-sitemap时是完全没问题的

panlei7 commented Mar 23, 2016

已经安装好hexo-deployer-git,如果没有在站点配置文件添加hexo-generator-sitemap时是完全没问题的

@WangXiZhu

This comment has been minimized.

Show comment
Hide comment
@WangXiZhu

WangXiZhu Mar 25, 2016

我也发现在_config.yml中添加plugins下面,添加关于hexo的有问题

WangXiZhu commented Mar 25, 2016

我也发现在_config.yml中添加plugins下面,添加关于hexo的有问题

@jingxinxin

This comment has been minimized.

Show comment
Hide comment
@jingxinxin

jingxinxin Mar 25, 2016

同样遇到这样的问题 貌似和 字符 - 有关系

jingxinxin commented Mar 25, 2016

同样遇到这样的问题 貌似和 字符 - 有关系

@leesei

This comment has been minimized.

Show comment
Hide comment
@leesei

leesei Apr 1, 2016

Member

Validate YAML with Online YAML Parser

Member

leesei commented Apr 1, 2016

Validate YAML with Online YAML Parser

@panlei7

This comment has been minimized.

Show comment
Hide comment
@panlei7

panlei7 Apr 3, 2016

@leesei 什么意思?

panlei7 commented Apr 3, 2016

@leesei 什么意思?

@panlei7

This comment has been minimized.

Show comment
Hide comment
@panlei7

panlei7 Apr 3, 2016

我知道了,原来根本不用添加这个语句,直接写
sitemap:
path: sitemap.xml
就可以了。网上很多教程误导了我。

panlei7 commented Apr 3, 2016

我知道了,原来根本不用添加这个语句,直接写
sitemap:
path: sitemap.xml
就可以了。网上很多教程误导了我。

@panlei7 panlei7 closed this Apr 3, 2016

@kkc

This comment has been minimized.

Show comment
Hide comment
@kkc

kkc Jul 3, 2016

最近也踩中這個雷,如果去定義 plugins ,就必須把所有使用到的 plugin 加進去

kkc commented Jul 3, 2016

最近也踩中這個雷,如果去定義 plugins ,就必須把所有使用到的 plugin 加進去

@leesei

This comment has been minimized.

Show comment
Hide comment
@leesei

leesei Jul 4, 2016

Member

You either DO NOT define plugins and let Hexo search for them or define ALL the plugins you used.

Member

leesei commented Jul 4, 2016

You either DO NOT define plugins and let Hexo search for them or define ALL the plugins you used.

@kkc

This comment has been minimized.

Show comment
Hide comment
@kkc

kkc Jul 4, 2016

@leesei sorry, where can I find this statement at document? I thought that is important for users.

kkc commented Jul 4, 2016

@leesei sorry, where can I find this statement at document? I thought that is important for users.

@leesei

This comment has been minimized.

Show comment
Hide comment
@leesei

leesei Jul 5, 2016

Member

Mmm, it is not in the docs. Let's open a ticket to track it.

Member

leesei commented Jul 5, 2016

Mmm, it is not in the docs. Let's open a ticket to track it.

@kkc

This comment has been minimized.

Show comment
Hide comment
@kkc

kkc Jul 6, 2016

@leesei thanks a lot! 👍

kkc commented Jul 6, 2016

@leesei thanks a lot! 👍

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