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

doc deploy failed #608

Closed
popomore opened this issue Mar 21, 2017 · 3 comments
Closed

doc deploy failed #608

popomore opened this issue Mar 21, 2017 · 3 comments

Comments

@popomore
Copy link
Member

  Error: Unable to call `helper["sjson"]`, which is undefined or falsey
    at Object.exports.prettifyError (/home/travis/build/eggjs/egg/docs/node_modules/.2.5.2@nunjucks/src/lib.js:34:15)
    at /home/travis/build/eggjs/egg/docs/node_modules/.2.5.2@nunjucks/src/environment.js:486:31
    at new_cls.root [as rootRenderFunc] (eval at _compile (/home/travis/build/eggjs/egg/docs/node_modules/.2.5.2@nunjucks/src/environment.js:565:24), <anonymous>:18:3)
    at new_cls.render (/home/travis/build/eggjs/egg/docs/node_modules/.2.5.2@nunjucks/src/environment.js:479:15)
    at new_cls.renderString (/home/travis/build/eggjs/egg/docs/node_modules/.2.5.2@nunjucks/src/environment.js:327:21)
    at /home/travis/build/eggjs/egg/docs/node_modules/.3.2.2@hexo/lib/extend/tag.js:66:9
    at Promise._execute (/home/travis/build/eggjs/egg/docs/node_modules/.3.5.0@bluebird/js/release/debuggability.js:300:9)
    at Promise._resolveFromExecutor (/home/travis/build/eggjs/egg/docs/node_modules/.3.5.0@bluebird/js/release/promise.js:483:18)
    at new Promise (/home/travis/build/eggjs/egg/docs/node_modules/.3.5.0@bluebird/js/release/promise.js:79:10)
    at Tag.render (/home/travis/build/eggjs/egg/docs/node_modules/.3.2.2@hexo/lib/extend/tag.js:64:10)
    at Object.tagFilter [as onRenderEnd] (/home/travis/build/eggjs/egg/docs/node_modules/.3.2.2@hexo/lib/hexo/post.js:253:16)
    at /home/travis/build/eggjs/egg/docs/node_modules/.3.2.2@hexo/lib/hexo/render.js:65:19
    at tryCatcher (/home/travis/build/eggjs/egg/docs/node_modules/.3.5.0@bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/home/travis/build/eggjs/egg/docs/node_modules/.3.5.0@bluebird/js/release/promise.js:512:31)
    at Promise._settlePromise (/home/travis/build/eggjs/egg/docs/node_modules/.3.5.0@bluebird/js/release/promise.js:569:18)
    at Promise._settlePromise0 (/home/travis/build/eggjs/egg/docs/node_modules/.3.5.0@bluebird/js/release/promise.js:614:10)
    at Promise._settlePromises (/home/travis/build/eggjs/egg/docs/node_modules/.3.5.0@bluebird/js/release/promise.js:693:18)
    at Async._drainQueue (/home/travis/build/eggjs/egg/docs/node_modules/.3.5.0@bluebird/js/release/async.js:133:16)
FATAL (unknown path) [Line 49, Column 61]
  Error: Unable to call `helper["sjson"]`, which is undefined or falsey
Template render error: (unknown path) [Line 49, Column 61]
  Error: Unable to call `helper["sjson"]`, which is undefined or falsey
    at Object.exports.prettifyError (/home/travis/build/eggjs/egg/docs/node_modules/.2.5.2@nunjucks/src/lib.js:34:15)
    at /home/travis/build/eggjs/egg/docs/node_modules/.2.5.2@nunjucks/src/environment.js:486:31
    at new_cls.root [as rootRenderFunc] (eval at _compile (/home/travis/build/eggjs/egg/docs/node_modules/.2.5.2@nunjucks/src/environment.js:565:24), <anonymous>:18:3)
    at new_cls.render (/home/travis/build/eggjs/egg/docs/node_modules/.2.5.2@nunjucks/src/environment.js:479:15)
    at new_cls.renderString (/home/travis/build/eggjs/egg/docs/node_modules/.2.5.2@nunjucks/src/environment.js:327:21)
    at /home/travis/build/eggjs/egg/docs/node_modules/.3.2.2@hexo/lib/extend/tag.js:66:9
    at Promise._execute (/home/travis/build/eggjs/egg/docs/node_modules/.3.5.0@bluebird/js/release/debuggability.js:300:9)
    at Promise._resolveFromExecutor (/home/travis/build/eggjs/egg/docs/node_modules/.3.5.0@bluebird/js/release/promise.js:483:18)
    at new Promise (/home/travis/build/eggjs/egg/docs/node_modules/.3.5.0@bluebird/js/release/promise.js:79:10)
    at Tag.render (/home/travis/build/eggjs/egg/docs/node_modules/.3.2.2@hexo/lib/extend/tag.js:64:10)
    at Object.tagFilter [as onRenderEnd] (/home/travis/build/eggjs/egg/docs/node_modules/.3.2.2@hexo/lib/hexo/post.js:253:16)
    at /home/travis/build/eggjs/egg/docs/node_modules/.3.2.2@hexo/lib/hexo/render.js:65:19
    at tryCatcher (/home/travis/build/eggjs/egg/docs/node_modules/.3.5.0@bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/home/travis/build/eggjs/egg/docs/node_modules/.3.5.0@bluebird/js/release/promise.js:512:31)
    at Promise._settlePromise (/home/travis/build/eggjs/egg/docs/node_modules/.3.5.0@bluebird/js/release/promise.js:569:18)
    at Promise._settlePromise0 (/home/travis/build/eggjs/egg/docs/node_modules/.3.5.0@bluebird/js/release/promise.js:614:10)
    at Promise._settlePromises (/home/travis/build/eggjs/egg/docs/node_modules/.3.5.0@bluebird/js/release/promise.js:693:18)
    at Async._drainQueue (/home/travis/build/eggjs/egg/docs/node_modules/.3.5.0@bluebird/js/release/async.js:133:16)
Error: Run "sh -c hexo --cwd docs generate --force" error, exit code 2
    at ChildProcess.proc.on.code (/home/travis/build/eggjs/egg/node_modules/runscript/index.js:65:21)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at maybeClose (internal/child_process.js:877:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)

@popomore
Copy link
Member Author

hexo don't ignore the code block, fix pr hexojs/hexo#2461

@atian25
Copy link
Member

atian25 commented Mar 21, 2017

@popomore remove code block to make sure 1.0.0 docs created first ?

popomore added a commit that referenced this issue Mar 21, 2017
@popomore popomore mentioned this issue Mar 21, 2017
4 tasks
atian25 pushed a commit that referenced this issue Mar 21, 2017
@popomore popomore closed this as completed May 4, 2017
@popomore
Copy link
Member Author

popomore commented May 4, 2017

hexo has fixed this bug.

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

No branches or pull requests

2 participants