# Other plugins and their settings.
plugins:
mathjax: true
katex: false
gallery: true
clipboard: true
google-analytics:
tracking_id:
在 hexo g 命令过程中报出大量相同错误,其中一个完整的错误栈如下:
ERROR Render HTML failed: tags/rust/index.html
Error: C:\Users\jtang1\IdeaProjects\jackeggie.github.io-source\themes\minos\layout\layout.ejs:4
2| <html class="has-navbar-fixed-top">
3| <head>
>> 4| <%- partial('common/head') %>
5| </head>
6| <body>
7| <%- partial('common/navbar', { page }) %>
C:\Users\jtang1\IdeaProjects\jackeggie.github.io-source\themes\minos\layout\common\head.ejs:59
57| <% if (has_config('plugins')) { %>
58| <% for (let plugin in get_config('plugins')) { %>
>> 59| <%- partial('plugins/' + plugin, {head: true}) %>
60| <% } %>
61| <% } %>
62|
Partial plugins/0 does not exist. (in common\head.ejs)
at Object.partial (C:\Users\jtang1\IdeaProjects\jackeggie.github.io-source\node_modules\hexo\lib\plugins\helper\partial.js:16:11)
at eval (eval at compile (C:\Users\jtang1\IdeaProjects\jackeggie.github.io-source\node_modules\hexo-renderer-ejs\node_modules\ejs\lib\ejs.js:633:12), <anonymous>:105:17)
at returnedFn (C:\Users\jtang1\IdeaProjects\jackeggie.github.io-source\node_modules\hexo-renderer-ejs\node_modules\ejs\lib\ejs.js:668:17)
at Theme._View.View._compiledSync.locals [as _compiledSync] (C:\Users\jtang1\IdeaProjects\jackeggie.github.io-source\node_modules\hexo\lib\theme\view.js:119:22)
at Theme._View.View.View.renderSync (C:\Users\jtang1\IdeaProjects\jackeggie.github.io-source\node_modules\hexo\lib\theme\view.js:48:23)
at Object.partial (C:\Users\jtang1\IdeaProjects\jackeggie.github.io-source\node_modules\hexo\lib\plugins\helper\partial.js:34:15)
at eval (eval at compile (C:\Users\jtang1\IdeaProjects\jackeggie.github.io-source\node_modules\hexo-renderer-ejs\node_modules\ejs\lib\ejs.js:633:12), <anonymous>:11:17)
at returnedFn (C:\Users\jtang1\IdeaProjects\jackeggie.github.io-source\node_modules\hexo-renderer-ejs\node_modules\ejs\lib\ejs.js:668:17)
at Theme._View.View._compiled.locals [as _compiled] (C:\Users\jtang1\IdeaProjects\jackeggie.github.io-source\node_modules\hexo\lib\theme\view.js:123:48)
at Theme._View.View.View.render (C:\Users\jtang1\IdeaProjects\jackeggie.github.io-source\node_modules\hexo\lib\theme\view.js:29:15)
at _compiled.then.result (C:\Users\jtang1\IdeaProjects\jackeggie.github.io-source\node_modules\hexo\lib\theme\view.js:40:23)
at tryCatcher (C:\Users\jtang1\IdeaProjects\jackeggie.github.io-source\node_modules\hexo\node_modules\bluebird\js\release\util.js:16:23)
at Promise._settlePromiseFromHandler (C:\Users\jtang1\IdeaProjects\jackeggie.github.io-source\node_modules\hexo\node_modules\bluebird\js\release\promise.js:547:31)
at Promise._settlePromise (C:\Users\jtang1\IdeaProjects\jackeggie.github.io-source\node_modules\hexo\node_modules\bluebird\js\release\promise.js:604:18)
at Promise._settlePromise0 (C:\Users\jtang1\IdeaProjects\jackeggie.github.io-source\node_modules\hexo\node_modules\bluebird\js\release\promise.js:649:10)
at Promise._settlePromises (C:\Users\jtang1\IdeaProjects\jackeggie.github.io-source\node_modules\hexo\node_modules\bluebird\js\release\promise.js:729:18)
at _drainQueueStep (C:\Users\jtang1\IdeaProjects\jackeggie.github.io-source\node_modules\hexo\node_modules\bluebird\js\release\async.js:93:12)
at _drainQueue (C:\Users\jtang1\IdeaProjects\jackeggie.github.io-source\node_modules\hexo\node_modules\bluebird\js\release\async.js:86:9)
at Async._drainQueues (C:\Users\jtang1\IdeaProjects\jackeggie.github.io-source\node_modules\hexo\node_modules\bluebird\js\release\async.js:102:5)
at Immediate.Async.drainQueues [as _onImmediate] (C:\Users\jtang1\IdeaProjects\jackeggie.github.io-source\node_modules\hexo\node_modules\bluebird\js\release\async.js:15:14)
at runCallback (timers.js:705:18)
at tryOnImmediate (timers.js:676:5)
at processImmediate (timers.js:658:5)
在使用过程中报了很奇怪的错,能否请作者看一下可能的问题原因。
我的 package.json 如下:
plugins 部分配置如下:
在
hexo g
命令过程中报出大量相同错误,其中一个完整的错误栈如下: