categories.find is not a function
at prepareQuery (/mount_pts/extst/store2_user/dist2/taozhijiang.github.io/node_modules/hexo/lib/plugins/helper/list_categories.js:35:23)
at flatList (/mount_pts/extst/store2_user/dist2/taozhijiang.github.io/node_modules/hexo/lib/plugins/helper/list_categories.js:95:5)
at Object.listCategoriesHelper (/mount_pts/extst/store2_user/dist2/taozhijiang.github.io/node_modules/hexo/lib/plugins/helper/list_categories.js:118:15)
at eval (eval at (/mount_pts/extst/store2_user/dist2/taozhijiang.github.io/node_modules/hexo-renderer-ejs/node_modules/ejs/lib/ejs.js:242:14), :30:167)
user@gentoo taozhijiang.github.io % hexo version hexo: 3.1.1 os: Linux 4.4.10-gentoo-nicolopt linux x64 http_parser: 2.6.2 node: 5.10.1 v8: 4.6.85.31 uv: 1.8.0 zlib: 1.2.8 ares: 1.10.1-DEV modules: 47 openssl: 1.0.2g user@gentoo taozhijiang.github.io %
Unhandled rejection TypeError: /mount_pts/extst/store2_user/dist2/taozhijiang.github.io/themes/yelee/layout/page.ejs:1
/mount_pts/extst/store2_user/dist2/taozhijiang.github.io/themes/yelee/layout/_partial/article.ejs:17 15| <% if (!index){ %> 16|
/mount_pts/extst/store2_user/dist2/taozhijiang.github.io/themes/yelee/layout/_partial/post/category.ejs:3 1| <% if (post.categories && post.categories.length){ %> 2|
categories.find is not a function at prepareQuery (/mount_pts/extst/store2_user/dist2/taozhijiang.github.io/node_modules/hexo/lib/plugins/helper/list_categories.js:35:23) at flatList (/mount_pts/extst/store2_user/dist2/taozhijiang.github.io/node_modules/hexo/lib/plugins/helper/list_categories.js:95:5) at Object.listCategoriesHelper (/mount_pts/extst/store2_user/dist2/taozhijiang.github.io/node_modules/hexo/lib/plugins/helper/list_categories.js:118:15) at eval (eval at (/mount_pts/extst/store2_user/dist2/taozhijiang.github.io/node_modules/hexo-renderer-ejs/node_modules/ejs/lib/ejs.js:242:14), :30:167)