Hexo Error|Deployer not found:git

Abstract:使用hexo时遇到了这个Error,本文是解决方法 ~

Error:执行 hexo deploy 后,出现 error deployer not found:git 的错误处理

原因:hexo 更新到3.0之后,deploy的type 的github需要改成git

解决方法:输入代码

1
npm install hexo-deployer-git --save
Thanks!