How to fix Deployer not found: git

ERROR Deployer not found: git

This error occurs, if you don’t install hexo-deployer-git but attempt to deploy.


Solution

1
$ npm install hexo-deployer-git --save

Then open _config.yml, fix #deployment

1
2
3
4
5
6
# Deployment
## Docs: https://hexo.io/docs/deployment.html
deploy:
type: git
repo: https://github.com/your_github_id/your_github_id.github.io.git
branch: master

Share