问题:hexo配置好后,运行hexo clean && hexo g && hexo d命令,出现ERROR Deployer not found: git
原因:少了hexo针对git的deploy组件
解决方法:npm install --save hexo-deployer-git
搞定,运行成功之后提示:INFO Deploy done: git
本文介绍了使用Hexo部署博客到Git过程中遇到的错误及解决方法。当运行部署命令时出现“Deployer not found: git”错误,文章提供了具体步骤来安装必要的Hexo组件以解决该问题。
问题:hexo配置好后,运行hexo clean && hexo g && hexo d命令,出现ERROR Deployer not found: git
原因:少了hexo针对git的deploy组件
解决方法:npm install --save hexo-deployer-git
搞定,运行成功之后提示:INFO Deploy done: git