Skip to content
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 generate报了这个错误 请教你下应该怎么解决 #172

Open
loveCanopy opened this issue Jul 25, 2017 · 0 comments
Open

Comments

@loveCanopy
Copy link

FATAL Something's wrong. Maybe you can find the solution here: http://hexo.io/docs/troubleshooting.html
TypeError: ejs:7
5|
6|

7| <%= posts.first().updated.toISOString() %>
8| <%- url %>
9| <% if (config.author){ %>
10|

Cannot read property 'updated' of undefined
at eval (eval at (F:\MyJavaBlog\node_modules\hexo-generator-feed\node_modules\ejs\lib\ejs.js:242:14), :30:539)
at eval (eval at (F:\MyJavaBlog\node_modules\hexo-generator-feed\node_modules\ejs\lib\ejs.js:242:14), :30:2439)
at F:\MyJavaBlog\node_modules\hexo-generator-feed\node_modules\ejs\lib\ejs.js:255:15
at Hexo.module.exports (F:\MyJavaBlog\node_modules\hexo-generator-feed\lib\generator.js:36:13)
at Hexo.tryCatcher (F:\MyJavaBlog\node_modules\bluebird\js\release\util.js:16:23)
at Hexo. (F:\MyJavaBlog\node_modules\bluebird\js\release\method.js:15:34)
at F:\MyJavaBlog\node_modules\hexo\lib\hexo\index.js:340:24
at tryCatcher (F:\MyJavaBlog\node_modules\bluebird\js\release\util.js:16:23)
at MappingPromiseArray._promiseFulfilled (F:\MyJavaBlog\node_modules\bluebird\js\release\map.js:61:38)
at MappingPromiseArray.PromiseArray._iterate (F:\MyJavaBlog\node_modules\bluebird\js\release\promise_array.js:114:31)
at MappingPromiseArray.init (F:\MyJavaBlog\node_modules\bluebird\js\release\promise_array.js:78:10)
at MappingPromiseArray._asyncInit (F:\MyJavaBlog\node_modules\bluebird\js\release\map.js:30:10)
at Async._drainQueue (F:\MyJavaBlog\node_modules\bluebird\js\release\async.js:138:12)
at Async._drainQueues (F:\MyJavaBlog\node_modules\bluebird\js\release\async.js:143:10)
at Immediate.Async.drainQueues (F:\MyJavaBlog\node_modules\bluebird\js\release\async.js:17:14)
at runCallback (timers.js:672:20)
at tryOnImmediate (timers.js:645:5)
at processImmediate [as _immediateCallback] (timers.js:617:5)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant