0%

hexo报错解决方案

1. ERROR Deployer not found: git

出现于 hexo clean && hexo g -d

原因分析

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

解决方案

cmd npm install hexo-deployer-git --save

2.INFO Validating config

出现于hexo d

原因分析

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

解决方案

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

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

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

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

正在更新中…