把本地的hexo升级了新的版本。
现在版本 3.3.9

错误ERROR Deployer not found: git

执行
hexo deploy发布时,出现错误

1
ERROR Deployer not found: git

解决

此时需要

1
npm install hexo-deployer-git –save


此时如果npm ERR! addLocal Could not instal

使用cnpm

1
npm install -g cnpm

无hexo server

hexo下无hexo server hexo s命令
此时需要

1
npm install hexo-server

hexo generate 无文章生成

1
2
3
4
5
 $ hexo generate
(node:21460) [DEP0061] DeprecationWarning: fs.SyncWriteStream is deprecated.
INFO Start processing
INFO Files loaded in 772 ms
INFO 0 files generated in 21 ms


未找到原因,只能重新安装hexo