Partial _meta/category does not exist. (in _partial\post\post-entry.ejs)
at Object.partial (C:\blog\satt\node_modules\hexo\lib\plugins\helper\partial.js:16:11)
at eval (C:\blog\satt\themes\cards\layout_partial\post\post-entry.ejs:41:17)
at post-entry (C:\blog\satt\node_modules\ejs\lib\ejs.js:682:17)
at _View._compiledSync (C:\blog\satt\node_modules\hexo\lib\theme\view.js:132:24)
at _View.renderSync (C:\blog\satt\node_modules\hexo\lib\theme\view.js:59:25)
at Object.partial (C:\blog\satt\node_modules\hexo\lib\plugins\helper\partial.js:34:15)
at eval (C:\blog\satt\themes\cards\layout_partial\post\post-list.ejs:19:17)
at _Query.forEach (C:\blog\satt\node_modules\warehouse\lib\query.js:36:7)
at eval (C:\blog\satt\themes\cards\layout_partial\post\post-list.ejs:16:19)
at post-list (C:\blog\satt\node_modules\ejs\lib\ejs.js:682:17)
at _View._compiledSync (C:\blog\satt\node_modules\hexo\lib\theme\view.js:132:24)
at _View.renderSync (C:\blog\satt\node_modules\hexo\lib\theme\view.js:59:25)
at Object.partial (C:\blog\satt\node_modules\hexo\lib\plugins\helper\partial.js:34:15)
at eval (C:\blog\satt\themes\cards\layout\index.ejs:12:17)
at index (C:\blog\satt\node_modules\ejs\lib\ejs.js:682:17)
at _View._compiled (C:\blog\satt\node_modules\hexo\lib\theme\view.js:136:50)
at _View.render (C:\blog\satt\node_modules\hexo\lib\theme\view.js:39:17)
at C:\blog\satt\node_modules\hexo\lib\hexo\index.js:64:21
at tryCatcher (C:\blog\satt\node_modules\bluebird\js\release\util.js:16:23)
at C:\blog\satt\node_modules\bluebird\js\release\method.js:15:34
at RouteStream._read (C:\blog\satt\node_modules\hexo\lib\hexo\router.js:47:5)
at RouteStream.Readable.read (internal/streams/readable.js:462:10)
一个空的hexo网站,1.3.0版本,会在hexo g的时候报错。使用hexo s --debug看到报错信息是 Unhandled rejection Error: C:\blog\satt\themes\cards\layout\index.ejs:2 1|
C:\blog\satt\themes\cards\layout_partial\post\post-list.ejs:6 4| <% page.posts.each((post) => { %> 5|
C:\blog\satt\themes\cards\layout_partial\post\post-entry.ejs:20 18|
Partial _meta/category does not exist. (in _partial\post\post-entry.ejs) at Object.partial (C:\blog\satt\node_modules\hexo\lib\plugins\helper\partial.js:16:11) at eval (C:\blog\satt\themes\cards\layout_partial\post\post-entry.ejs:41:17) at post-entry (C:\blog\satt\node_modules\ejs\lib\ejs.js:682:17) at _View._compiledSync (C:\blog\satt\node_modules\hexo\lib\theme\view.js:132:24) at _View.renderSync (C:\blog\satt\node_modules\hexo\lib\theme\view.js:59:25) at Object.partial (C:\blog\satt\node_modules\hexo\lib\plugins\helper\partial.js:34:15) at eval (C:\blog\satt\themes\cards\layout_partial\post\post-list.ejs:19:17) at _Query.forEach (C:\blog\satt\node_modules\warehouse\lib\query.js:36:7) at eval (C:\blog\satt\themes\cards\layout_partial\post\post-list.ejs:16:19) at post-list (C:\blog\satt\node_modules\ejs\lib\ejs.js:682:17) at _View._compiledSync (C:\blog\satt\node_modules\hexo\lib\theme\view.js:132:24) at _View.renderSync (C:\blog\satt\node_modules\hexo\lib\theme\view.js:59:25) at Object.partial (C:\blog\satt\node_modules\hexo\lib\plugins\helper\partial.js:34:15) at eval (C:\blog\satt\themes\cards\layout\index.ejs:12:17) at index (C:\blog\satt\node_modules\ejs\lib\ejs.js:682:17) at _View._compiled (C:\blog\satt\node_modules\hexo\lib\theme\view.js:136:50) at _View.render (C:\blog\satt\node_modules\hexo\lib\theme\view.js:39:17) at C:\blog\satt\node_modules\hexo\lib\hexo\index.js:64:21 at tryCatcher (C:\blog\satt\node_modules\bluebird\js\release\util.js:16:23) at C:\blog\satt\node_modules\bluebird\js\release\method.js:15:34 at RouteStream._read (C:\blog\satt\node_modules\hexo\lib\hexo\router.js:47:5) at RouteStream.Readable.read (internal/streams/readable.js:462:10)
如果用1.2.2版本则可以正常运行