(base) user@slave:/home/wzy/blog$ hexo g
INFO Start processing
FATAL Something's wrong. Maybe you can find the solution here: https://hexo.io/docs/troubleshooting.html
Template render error: (unknown path)
Error: expected end of comment, got end of file
at Object._prettifyError (/home/wzy/blog/node_modules/nunjucks/src/lib.js:36:11)
at Template.render (/home/wzy/blog/node_modules/nunjucks/src/environment.js:536:21)
at Environment.renderString (/home/wzy/blog/node_modules/nunjucks/src/environment.js:378:17)
at /home/wzy/blog/node_modules/hexo/lib/extend/tag.js:120:48
at tryCatcher (/home/wzy/blog/node_modules/bluebird/js/release/util.js:16:23)
at Function.Promise.fromNode.Promise.fromCallback (/home/wzy/blog/node_modules/bluebird/js/release/promise.js:209:30)
at Tag.render (/home/wzy/blog/node_modules/hexo/lib/extend/tag.js:120:18)
at Object.onRenderEnd (/home/wzy/blog/node_modules/hexo/lib/hexo/post.js:288:20)
at /home/wzy/blog/node_modules/hexo/lib/hexo/render.js:64:19
at tryCatcher (/home/wzy/blog/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/home/wzy/blog/node_modules/bluebird/js/release/promise.js:547:31)
at Promise._settlePromise (/home/wzy/blog/node_modules/bluebird/js/release/promise.js:604:18)
at Promise._settlePromise0 (/home/wzy/blog/node_modules/bluebird/js/release/promise.js:649:10)
at Promise._settlePromises (/home/wzy/blog/node_modules/bluebird/js/release/promise.js:729:18)
at _drainQueueStep (/home/wzy/blog/node_modules/bluebird/js/release/async.js:93:12)
at _drainQueue (/home/wzy/blog/node_modules/bluebird/js/release/async.js:86:9)
at Async._drainQueues (/home/wzy/blog/node_modules/bluebird/js/release/async.js:102:5)
at Immediate.Async.drainQueues (/home/wzy/blog/node_modules/bluebird/js/release/async.js:15:14)
at processImmediate (internal/timers.js:439:21)
解决方案
某一篇博客中可能存在"’{#“字符串,去掉它,或者去掉”#".