Skip to content
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

Suddenly Deployer not found: git #2973

Closed
lcy362 opened this issue Jan 19, 2018 · 2 comments
Closed

Suddenly Deployer not found: git #2973

lcy362 opened this issue Jan 19, 2018 · 2 comments

Comments

@lcy362
Copy link

lcy362 commented Jan 19, 2018

Environment Info

Node version(node -v): v9.4.0

Your site _config.yml (Optional): https://github.com/lcy362/blog.source/blob/master/_config.yml

Your theme _config.yml (Optional):

Hexo and Plugin version(npm ls --depth 0): 3.4.4

Question

my hexo works just fine until a while ago, at that time I installed hexo-generator-robotstxt as https://www.npmjs.com/package/hexo-generator-robotstxt.

Then I can't deploy to git.

I tried re install hexo-git with npm install hexo-deployer-git --save, but not work

How can I fix this?

@lcy362
Copy link
Author

lcy362 commented Jan 22, 2018

I removed this part in the config file, and it works:

plugins:
 - hexo-generator-robotstxt

it seems I don't need to config used plugins, it can be recognised automatically. But if I do config this, other plugins will not be loaded.

@NoahDragon
Copy link
Member

Glad you figure it out.
Close as resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants