hexo求助

回复帖子

@八声甘州 2019-08-15 16:48 回复

hexo server正常

$ hexo d

INFO  Deploying: git
INFO  Clearing .deploy_git folder...
INFO  Copying files from public folder...
INFO  Copying files from extend dirs...
warning: LF will be replaced by CRLF in 2019/08/06/模拟退火(SA)学习笔记/index.html.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in 2019/08/07/Hexo-NexT主题搭建笔记/index.html.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in 2019/08/07/洛谷P3177 [HAOI2015]树上染色/index.html.
The file will have its original line endings in your working directory
error: inflate: data stream error (invalid distance too far back)
error: corrupt loose object '5ec2e21b772abf9d4ee09bd363ad7f1f5ae4b035'
fatal: loose object 5ec2e21b772abf9d4ee09bd363ad7f1f5ae4b035 (stored in .git/objects/5e/c2e21b772abf9d4ee09bd363ad7f1f5ae4b035) is corrupt
FATAL Something's wrong. Maybe you can find the solution here: https://hexo.io/docs/troubleshooting.html
Error: Spawn failed
    at ChildProcess.<anonymous> (C:\Users\dguser\Desktop\myBlog\ATURICS.github.io\node_modules\hexo-util\lib\spawn.js:52:19)
    at ChildProcess.emit (events.js:198:13)
    at ChildProcess.cp.emit (C:\Users\dguser\Desktop\myBlog\ATURICS.github.io\node_modules\cross-spawn\lib\enoent.js:40:29)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
@code004Accepted 2019-08-15 18:33 回复 举报

@八声甘州 gitalk的问题,要么是你的Client ID/Secret填错了,要么是文章url含中文导致的

你可以把文章url换成英文试试,比如把_posts文件夹下的测试.md换成test.md试试

@code004Accepted 2019-08-15 19:03 回复 举报

@八声甘州 现在那个hexo d报错解决了吗qwq

如果解决的话,看一下有没有你输的repo,建议新建一个blog-comment的repo来存评论,如果用你博客的那个repo可能会出问题,新建一个全部小写的blog-comment,大小写可能会有问题

反馈
如果你认为某个帖子有问题,欢迎向洛谷反馈,以帮助更多的同学。



请具体说明理由,以增加反馈的可信度。