hexo 报错解决方案

1. ERROR Deployer not found: git

出现于 hexo clean && hexo g -d

原因分析

在初次部署 hexo 时没有安装 hexo-deployer-git 插件导致的

解决方案

1
npm install hexo-deployer-git --save

2. INFO Validating config

出现于 hexo d

原因分析

与远程部署 hexo 发现远程仓库未更新

解决方案

在使用 hexo d 前,先执行下列命令

1
npm un hexo-deployer-git
1
npm i hexojs/hexo-deployer-git

这样会导致原本的 hexo-deployer-git 插件会出现问题,需要重新安装一遍才能解决问题。

来源:https://blog.csdn.net/YunxBao/article/details/139754089

正在更新中…