我是靠谱客的博主 美丽高跟鞋,最近开发中收集的这篇文章主要介绍hexo Template render error: (unknown path) Error: expected end of comment, got end of file,觉得挺不错的,现在分享给大家,希望可以做个参考。
概述
(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)
解决方案
某一篇博客中可能存在"’{#“字符串,去掉它,或者去掉”#".
最后
以上就是美丽高跟鞋为你收集整理的hexo Template render error: (unknown path) Error: expected end of comment, got end of file的全部内容,希望文章能够帮你解决hexo Template render error: (unknown path) Error: expected end of comment, got end of file所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复