deployer not found: git
时间: 2023-04-21 12:00:50 浏览: 52
这个错误提示是指在使用 Git 进行部署时,找不到部署器(deployer)。可能是因为没有正确配置 Git 或者没有安装部署器导致的。需要检查 Git 的配置和部署器的安装情况,确保能够正确地进行部署操作。
相关问题
Deployer not found: it
回答: "Deployer not found: it" 这个错误是由于在配置文件_config.yml中没有正确设置部署器(deployer)导致的。根据引用\[1\]中的内容,你需要在_config.yml中配置deploy部分,指定部署类型为git,并设置repo和branch。确保repo是正确的git仓库地址,branch是正确的分支。另外,根据引用\[2\]中的内容,你还需要将node_modules文件夹添加到Path中,以确保可以找到hexo命令。如果你已经按照上述步骤进行了配置和设置,但仍然出现该错误,你可以尝试重新安装hexo-cli,使用命令npm install hexo-cli -g。这样应该能解决问题。\[1\]\[2\]\[3\]
#### 引用[.reference_title]
- *1* [用Hexo搭建个人博客](https://blog.csdn.net/AstrayLinux/article/details/46455761)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* *3* [完美解决 bash: hexo: command not found](https://blog.csdn.net/qq_36759224/article/details/100411949)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
gitee+hexo
回答: 在使用gitee和hexo的过程中,根据引用的提到,你可能会遇到"Deployer not found: github"或"Deployer not found: git"的错误。为了解决这个问题,你需要执行"hexo d"命令之前,先进行一些配置。根据引用的提到,你需要配置git的用户名和邮箱,可以使用以下命令进行配置:"git config --global user.name "xiaoma""和"git config --global user.email "xxx@qq.com""。此外,根据引用的提到,如果你想使用yilia主题,你可以先下载这个主题,可以使用以下命令:"cd /f/Workspaces/hexo/"和"git clone https://github.com/litten/hexo-theme-yilia.git themes/yilia"。希望这些信息能帮助到你。