用终端部署hexo博客后出现报错的解决方法

用终端部署hexo博客后出现报错的解决方法

问题陈述

1
2
hexo d
ERROR Deployer not found: git

解决方法

通过 npm 下载缺失文件 hexo-deployer-git

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