-
-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
运行hexo g时报错 #159
Comments
检查主题配置文件,对着模板来写你自己的配置文件 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
E:\Projects\Blog\blog>hexo clean && hexo g
INFO Validating config
INFO Deleted database.
INFO Deleted public folder.
INFO Validating config
INFO Start processing
INFO Files loaded in 258 ms
ERROR TypeError: E:\Projects\Blog\blog\themes\obsidian\layout\archive.ejs:10
8|
9|
Cannot read property 'archives' of undefined
at eval (E:\Projects\Blog\blog\themes\obsidian\layout\archive.ejs:12:44)
at archive (E:\Projects\Blog\blog\node_modules\ejs\lib\ejs.js:682:17)
at _View._compiled (E:\Projects\Blog\blog\node_modules\hexo\lib\theme\view.js:136:50)
at _View.render (E:\Projects\Blog\blog\node_modules\hexo\lib\theme\view.js:39:17)
at E:\Projects\Blog\blog\node_modules\hexo\lib\hexo\index.js:64:21
at tryCatcher (E:\Projects\Blog\blog\node_modules\bluebird\js\release\util.js:16:23)
at E:\Projects\Blog\blog\node_modules\bluebird\js\release\method.js:15:34
at RouteStream.read (E:\Projects\Blog\blog\node_modules\hexo\lib\hexo\router.js:47:5)
at RouteStream.Readable.read (internal/streams/readable.js:481:10)
at resume (internal/streams/readable.js:968:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21) {
path: 'E:\Projects\Blog\blog\themes\obsidian\layout\archive.ejs'
}
ERROR TypeError: E:\Projects\Blog\blog\themes\obsidian\layout\post.ejs:4
2| <%- partial("_partial/post/header")%>
3|
6|
E:\Projects\Blog\blog\themes\obsidian\layout_partial\post\article.ejs:22
20|
<%- link_to(page.path, page.title || "Untitled", {class: ""}) %>
21|
Cannot read property 'enable' of undefined
at eval (E:\Projects\Blog\blog\themes\obsidian\layout_partial\post\article.ejs:39:37)
at article (E:\Projects\Blog\blog\node_modules\ejs\lib\ejs.js:682:17)
at _View._compiledSync (E:\Projects\Blog\blog\node_modules\hexo\lib\theme\view.js:132:24)
at _View.renderSync (E:\Projects\Blog\blog\node_modules\hexo\lib\theme\view.js:59:25)
at Object.partial (E:\Projects\Blog\blog\node_modules\hexo\lib\plugins\helper\partial.js:34:15)
at eval (E:\Projects\Blog\blog\themes\obsidian\layout\post.ejs:15:17)
at post (E:\Projects\Blog\blog\node_modules\ejs\lib\ejs.js:682:17)
at _View._compiled (E:\Projects\Blog\blog\node_modules\hexo\lib\theme\view.js:136:50)
at _View.render (E:\Projects\Blog\blog\node_modules\hexo\lib\theme\view.js:39:17)
at E:\Projects\Blog\blog\node_modules\hexo\lib\hexo\index.js:64:21
at tryCatcher (E:\Projects\Blog\blog\node_modules\bluebird\js\release\util.js:16:23)
at E:\Projects\Blog\blog\node_modules\bluebird\js\release\method.js:15:34
at RouteStream.read (E:\Projects\Blog\blog\node_modules\hexo\lib\hexo\router.js:47:5)
at RouteStream.Readable.read (internal/streams/readable.js:481:10)
at resume (internal/streams/readable.js:968:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21) {
path: 'E:\Projects\Blog\blog\themes\obsidian\layout\post.ejs'
}
ERROR TypeError: E:\Projects\Blog\blog\themes\obsidian\layout\post.ejs:4
2| <%- partial("_partial/post/header")%>
3|
6|
E:\Projects\Blog\blog\themes\obsidian\layout_partial\post\article.ejs:22
20|
<%- link_to(page.path, page.title || "Untitled", {class: ""}) %>
21|
Cannot read property 'enable' of undefined
at eval (E:\Projects\Blog\blog\themes\obsidian\layout_partial\post\article.ejs:39:37)
at article (E:\Projects\Blog\blog\node_modules\ejs\lib\ejs.js:682:17)
at _View._compiledSync (E:\Projects\Blog\blog\node_modules\hexo\lib\theme\view.js:132:24)
at _View.renderSync (E:\Projects\Blog\blog\node_modules\hexo\lib\theme\view.js:59:25)
at Object.partial (E:\Projects\Blog\blog\node_modules\hexo\lib\plugins\helper\partial.js:34:15)
at eval (E:\Projects\Blog\blog\themes\obsidian\layout\post.ejs:15:17)
at post (E:\Projects\Blog\blog\node_modules\ejs\lib\ejs.js:682:17)
at _View._compiled (E:\Projects\Blog\blog\node_modules\hexo\lib\theme\view.js:136:50)
at _View.render (E:\Projects\Blog\blog\node_modules\hexo\lib\theme\view.js:39:17)
at E:\Projects\Blog\blog\node_modules\hexo\lib\hexo\index.js:64:21
at tryCatcher (E:\Projects\Blog\blog\node_modules\bluebird\js\release\util.js:16:23)
at E:\Projects\Blog\blog\node_modules\bluebird\js\release\method.js:15:34
at RouteStream.read (E:\Projects\Blog\blog\node_modules\hexo\lib\hexo\router.js:47:5)
at RouteStream.Readable.read (internal/streams/readable.js:481:10)
at resume (internal/streams/readable.js:968:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21) {
path: 'E:\Projects\Blog\blog\themes\obsidian\layout\post.ejs'
}
ERROR TypeError: E:\Projects\Blog\blog\themes\obsidian\layout\archive.ejs:10
8|
9|
Cannot read property 'archives' of undefined
at eval (E:\Projects\Blog\blog\themes\obsidian\layout\archive.ejs:12:44)
at archive (E:\Projects\Blog\blog\node_modules\ejs\lib\ejs.js:682:17)
at _View._compiled (E:\Projects\Blog\blog\node_modules\hexo\lib\theme\view.js:136:50)
at _View.render (E:\Projects\Blog\blog\node_modules\hexo\lib\theme\view.js:39:17)
at E:\Projects\Blog\blog\node_modules\hexo\lib\hexo\index.js:64:21
at tryCatcher (E:\Projects\Blog\blog\node_modules\bluebird\js\release\util.js:16:23)
at E:\Projects\Blog\blog\node_modules\bluebird\js\release\method.js:15:34
at RouteStream.read (E:\Projects\Blog\blog\node_modules\hexo\lib\hexo\router.js:47:5)
at RouteStream.Readable.read (internal/streams/readable.js:481:10)
at resume (internal/streams/readable.js:968:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21) {
path: 'E:\Projects\Blog\blog\themes\obsidian\layout\archive.ejs'
}
ERROR TypeError: E:\Projects\Blog\blog\themes\obsidian\layout\archive.ejs:10
8|
9|
Cannot read property 'archives' of undefined
at eval (E:\Projects\Blog\blog\themes\obsidian\layout\archive.ejs:12:44)
at archive (E:\Projects\Blog\blog\node_modules\ejs\lib\ejs.js:682:17)
at _View._compiled (E:\Projects\Blog\blog\node_modules\hexo\lib\theme\view.js:136:50)
at _View.render (E:\Projects\Blog\blog\node_modules\hexo\lib\theme\view.js:39:17)
at E:\Projects\Blog\blog\node_modules\hexo\lib\hexo\index.js:64:21
at tryCatcher (E:\Projects\Blog\blog\node_modules\bluebird\js\release\util.js:16:23)
at E:\Projects\Blog\blog\node_modules\bluebird\js\release\method.js:15:34
at RouteStream.read (E:\Projects\Blog\blog\node_modules\hexo\lib\hexo\router.js:47:5)
at RouteStream.Readable.read (internal/streams/readable.js:481:10)
at resume (internal/streams/readable.js:968:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21) {
path: 'E:\Projects\Blog\blog\themes\obsidian\layout\archive.ejs'
}
ERROR TypeError: E:\Projects\Blog\blog\themes\obsidian\layout\index.ejs:3
1| <%- partial("_partial/menu", null, {cache: true}) %>
2|
E:\Projects\Blog\blog\themes\obsidian\layout_partial\screen.ejs:57
55|
56| <%- link_to(first.path, first.title || config.title, {class: "posttitle"}) %>
Cannot read property 'enable' of undefined
at eval (E:\Projects\Blog\blog\themes\obsidian\layout_partial\screen.ejs:72:37)
at screen (E:\Projects\Blog\blog\node_modules\ejs\lib\ejs.js:682:17)
at _View._compiledSync (E:\Projects\Blog\blog\node_modules\hexo\lib\theme\view.js:132:24)
at _View.renderSync (E:\Projects\Blog\blog\node_modules\hexo\lib\theme\view.js:59:25)
at Object.partial (E:\Projects\Blog\blog\node_modules\hexo\lib\plugins\helper\partial.js:34:15)
at eval (E:\Projects\Blog\blog\themes\obsidian\layout\index.ejs:13:17)
at index (E:\Projects\Blog\blog\node_modules\ejs\lib\ejs.js:682:17)
at _View._compiled (E:\Projects\Blog\blog\node_modules\hexo\lib\theme\view.js:136:50)
at _View.render (E:\Projects\Blog\blog\node_modules\hexo\lib\theme\view.js:39:17)
at E:\Projects\Blog\blog\node_modules\hexo\lib\hexo\index.js:64:21
at tryCatcher (E:\Projects\Blog\blog\node_modules\bluebird\js\release\util.js:16:23)
at E:\Projects\Blog\blog\node_modules\bluebird\js\release\method.js:15:34
at RouteStream.read (E:\Projects\Blog\blog\node_modules\hexo\lib\hexo\router.js:47:5)
at RouteStream.Readable.read (internal/streams/readable.js:481:10)
at resume (internal/streams/readable.js:968:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21) {
path: 'E:\Projects\Blog\blog\themes\obsidian\layout\index.ejs'
}
(node:2696) Warning: Accessing non-existent property 'lineno' of module exports inside circular dependency
(Use
node --trace-warnings ...
to show where the warning was created)(node:2696) Warning: Accessing non-existent property 'column' of module exports inside circular dependency
(node:2696) Warning: Accessing non-existent property 'filename' of module exports inside circular dependency
(node:2696) Warning: Accessing non-existent property 'lineno' of module exports inside circular dependency
(node:2696) Warning: Accessing non-existent property 'column' of module exports inside circular dependency
(node:2696) Warning: Accessing non-existent property 'filename' of module exports inside circular dependency
The text was updated successfully, but these errors were encountered: