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

Template render error: (unknown path) [Line 8, Column 25] #269

Open
kobe-tian opened this issue Apr 9, 2020 · 1 comment
Open

Template render error: (unknown path) [Line 8, Column 25] #269

kobe-tian opened this issue Apr 9, 2020 · 1 comment

Comments

@kobe-tian
Copy link

when I start hexo s -g, I got this error

Error: Unable to call `the return value of (posts["first"])["updated"]["toISOString"]`, which is undefined or falsey
    at Object._prettifyError (/Users/kobetian/blog/node_modules/nunjucks/src/lib.js:36:11)
    at /Users/kobetian/blog/node_modules/nunjucks/src/environment.js:561:19
    at Template.root [as rootRenderFunc] (eval at _compile (/Users/kobetian/blog/node_modules/nunjucks/src/environment.js:631:18), <anonymous>:214:3)
    at Template.render (/Users/kobetian/blog/node_modules/nunjucks/src/environment.js:550:10)
    at Hexo.module.exports (/Users/kobetian/blog/node_modules/hexo-generator-feed/lib/generator.js:40:22)
    at Hexo.tryCatcher (/Users/kobetian/blog/node_modules/bluebird/js/release/util.js:16:23)
    at Hexo.<anonymous> (/Users/kobetian/blog/node_modules/bluebird/js/release/method.js:15:34)
    at /Users/kobetian/blog/node_modules/hexo/lib/hexo/index.js:318:20
    at tryCatcher (/Users/kobetian/blog/node_modules/bluebird/js/release/util.js:16:23)
    at MappingPromiseArray._promiseFulfilled (/Users/kobetian/blog/node_modules/bluebird/js/release/map.js:68:38)
    at MappingPromiseArray.PromiseArray._iterate (/Users/kobetian/blog/node_modules/bluebird/js/release/promise_array.js:115:31)
    at MappingPromiseArray.init (/Users/kobetian/blog/node_modules/bluebird/js/release/promise_array.js:79:10)
    at MappingPromiseArray._asyncInit (/Users/kobetian/blog/node_modules/bluebird/js/release/map.js:37:10)
    at _drainQueueStep (/Users/kobetian/blog/node_modules/bluebird/js/release/async.js:97:12)
    at _drainQueue (/Users/kobetian/blog/node_modules/bluebird/js/release/async.js:86:9)
    at Async._drainQueues (/Users/kobetian/blog/node_modules/bluebird/js/release/async.js:102:5)
    at Immediate.Async.drainQueues [as _onImmediate] (/Users/kobetian/blog/node_modules/bluebird/js/release/async.js:15:14)
    at processImmediate (internal/timers.js:439:21)

Anyone can help me, Thx a lot!

@stevenjoezhang
Copy link

See also hexojs/hexo-generator-feed#107

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

2 participants