ERROR:
E:\blog>hexo s
INFO Start processing
INFO Hexo is running at http://localhost:4000 . Press Ctrl+C to stop.
Unhandled rejection TypeError: E:\blog\themes\melody\layout\includes\layout.pug:11
9|
10| - var pageDescription = page.description || page.title || config.description || ''
!=partial('includes/sidebar', {}, {cache: true})
(config.keywords || []).join is not a function
at eval (eval at wrap (E:\blog\node_modules\pug-runtime\wrap.js:6:10), :20:44)
at template (eval at wrap (E:\blog\node_modules\pug-runtime\wrap.js:6:10), :1825:72)
at Theme._View.View._compiled (E:\blog\node_modules\hexo\lib\theme\view.js:123:48)
at Theme._View.View.View.render (E:\blog\node_modules\hexo\lib\theme\view.js:29:15)
at E:\blog\node_modules\hexo\lib\hexo\index.js:365:21
at tryCatcher (E:\blog\node_modules\bluebird\js\release\util.js:16:23)
at E:\blog\node_modules\bluebird\js\release\method.js:15:34
at RouteStream._read (E:\blog\node_modules\hexo\lib\hexo\router.js:123
hexo编辑博客报错Unhandled rejection TypeError: E:\Blog\themes\butterfly\layout\includes\layout.pug:16原因
最新推荐文章于 2024-04-03 09:44:40 发布
在搭建Hexo博客时遇到错误,错误信息显示配置文件中`menu`设置出现问题,导致`config.keywords||[]`.join不是一个函数。通过重置或修改个人主题 `_config.yml` 文件中的 `menu` 配置,例如采用提供的示例格式,可以解决此问题。建议检查并更新相关关键字或菜单结构。

最低0.47元/天 解锁文章
3083





