上传到云端出错
提示1
hexo d
后提示
To https://gitee.com/DragonLanQAQ/DragonLanQAQ.git+44bd99d...387e78f HEAD -> master (forced update)
Branch 'master' set up to track remote branch 'master' from 'https://gitee.com/DragonLanQAQ/DragonLanQAQ.git'.
且页面未刷新
解决方案:删除 .deploy_git
目录,再执行 hexo d -g
就可以了
提示2
hexo
从5.0降为4.2后,hexo cl
后提示
Plugin load failed: hexo-theme-landscape
Error: EISDIR: illegal operation on a directory, read
解决方案:
先执行
grep -rn "hexo-theme-landscape"
再进入目录,把hexo-theme-landscape
删了就行了
提示3
Error: Spawn failed
at ChildProcess.
at ChildProcess.emit (node:events:390:28)
at ChildProcess.cp.emit (C:\Users\Dragon_Lan\blog\node_modules\cross-spawn\lib\enoent.js:34:29)
at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
提示4
fatal: Could not set SSL backend to ‘openssl’: already set
缓存:
上传云端后图片未更改
解决方案:建议每次生成站点或部署之前都用 hexo clean
命令清理一下缓存,请使用Ctrl + F5
清除缓存并刷新页面。