{"action":"created","issue":{"url":"https://api.github.com/repos/hexojs/hexo/issues/1837","repository_url":"https://api.github.com/repos/hexojs/hexo","labels_url":"https://api.github.com/repos/hexojs/hexo/issues/1837/labels{/name}","comments_url":"https://api.github.com/repos/hexojs/hexo/issues/1837/comments","events_url":"https://api.github.com/repos/hexojs/hexo/issues/1837/events","html_url":"https://github.com/hexojs/hexo/issues/1837","id":141354643,"number":1837,"title":"hexo generate fail - Template render error: (unknown path)","user":{"login":"noraj1337","id":16578570,"avatar_url":"https://avatars3.githubusercontent.com/u/16578570?v=4","gravatar_id":"","url":"https://api.github.com/users/noraj1337","html_url":"https://github.com/noraj1337","followers_url":"https://api.github.com/users/noraj1337/followers","following_url":"https://api.github.com/users/noraj1337/following{/other_user}","gists_url":"https://api.github.com/users/noraj1337/gists{/gist_id}","starred_url":"https://api.github.com/users/noraj1337/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noraj1337/subscriptions","organizations_url":"https://api.github.com/users/noraj1337/orgs","repos_url":"https://api.github.com/users/noraj1337/repos","events_url":"https://api.github.com/users/noraj1337/events{/privacy}","received_events_url":"https://api.github.com/users/noraj1337/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-03-16T18:04:39Z","updated_at":"2017-07-30T07:35:48Z","closed_at":"2016-03-16T19:30:41Z","body":"Hi\n\nI'm using hexo 3.2.0\n\n```\nhexo: 3.2.0\nhexo-cli: 1.0.1\nos: Linux 4.1.15-8-default linux x64\nhttp_parser: 2.5.2\nnode: 4.3.1\nv8: 4.5.103.35\nuv: 1.8.0\nzlib: 1.2.8\nares: 1.10.1-DEV\nmodules: 46\nopenssl: 1.0.2f\n```\n\nand I can't generate my files anymore.\n\nWhen I run `hexo g` I have an error :\n\n```\nhexo g\nINFO  Start processing\nFATAL Something's wrong. Maybe you can find the solution here: http://hexo.io/docs/troubleshooting.html\nTemplate render error: (unknown path) [Line 2, Column 2]\n  unknown block tag: alert\n    at Object.exports.prettifyError (/run/media/shark/Media/CrossPlatform/www/hexo_test/node_modules/hexo/node_modules/nunjucks/src/lib.js:34:15)\n    at Obj.extend.render (/run/media/shark/Media/CrossPlatform/www/hexo_test/node_modules/hexo/node_modules/nunjucks/src/environment.js:468:27)\n    at Obj.extend.renderString (/run/media/shark/Media/CrossPlatform/www/hexo_test/node_modules/hexo/node_modules/nunjucks/src/environment.js:326:21)\n    at /run/media/shark/Media/CrossPlatform/www/hexo_test/node_modules/hexo/lib/extend/tag.js:66:9\n    at Promise._execute (/run/media/shark/Media/CrossPlatform/www/hexo_test/node_modules/hexo/node_modules/bluebird/js/release/debuggability.js:272:9)\n    at Promise._resolveFromExecutor (/run/media/shark/Media/CrossPlatform/www/hexo_test/node_modules/hexo/node_modules/bluebird/js/release/promise.js:474:18)\n    at new Promise (/run/media/shark/Media/CrossPlatform/www/hexo_test/node_modules/hexo/node_modules/bluebird/js/release/promise.js:77:14)\n    at Tag.render (/run/media/shark/Media/CrossPlatform/www/hexo_test/node_modules/hexo/lib/extend/tag.js:64:10)\n    at Object.tagFilter [as onRenderEnd] (/run/media/shark/Media/CrossPlatform/www/hexo_test/node_modules/hexo/lib/hexo/post.js:253:16)\n    at /run/media/shark/Media/CrossPlatform/www/hexo_test/node_modules/hexo/lib/hexo/render.js:63:19\n    at tryCatcher (/run/media/shark/Media/CrossPlatform/www/hexo_test/node_modules/hexo/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/run/media/shark/Media/CrossPlatform/www/hexo_test/node_modules/hexo/node_modules/bluebird/js/release/promise.js:503:31)\n    at Promise._settlePromise (/run/media/shark/Media/CrossPlatform/www/hexo_test/node_modules/hexo/node_modules/bluebird/js/release/promise.js:560:18)\n    at Promise._settlePromise0 (/run/media/shark/Media/CrossPlatform/www/hexo_test/node_modules/hexo/node_modules/bluebird/js/release/promise.js:605:10)\n    at Promise._settlePromises (/run/media/shark/Media/CrossPlatform/www/hexo_test/node_modules/hexo/node_modules/bluebird/js/release/promise.js:684:18)\n    at Async._drainQueue (/run/media/shark/Media/CrossPlatform/www/hexo_test/node_modules/hexo/node_modules/bluebird/js/release/async.js:126:16)\n    at Async._drainQueues (/run/media/shark/Media/CrossPlatform/www/hexo_test/node_modules/hexo/node_modules/bluebird/js/release/async.js:136:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (/run/media/shark/Media/CrossPlatform/www/hexo_test/node_modules/hexo/node_modules/bluebird/js/release/async.js:16:14)\n    at processImmediate [as _immediateCallback] (timers.js:383:17)\nFATAL (unknown path) [Line 2, Column 2]\n  unknown block tag: alert\nTemplate render error: (unknown path) [Line 2, Column 2]\n  unknown block tag: alert\n    at Object.exports.prettifyError (/run/media/shark/Media/CrossPlatform/www/hexo_test/node_modules/hexo/node_modules/nunjucks/src/lib.js:34:15)\n    at Obj.extend.render (/run/media/shark/Media/CrossPlatform/www/hexo_test/node_modules/hexo/node_modules/nunjucks/src/environment.js:468:27)\n    at Obj.extend.renderString (/run/media/shark/Media/CrossPlatform/www/hexo_test/node_modules/hexo/node_modules/nunjucks/src/environment.js:326:21)\n    at /run/media/shark/Media/CrossPlatform/www/hexo_test/node_modules/hexo/lib/extend/tag.js:66:9\n    at Promise._execute (/run/media/shark/Media/CrossPlatform/www/hexo_test/node_modules/hexo/node_modules/bluebird/js/release/debuggability.js:272:9)\n    at Promise._resolveFromExecutor (/run/media/shark/Media/CrossPlatform/www/hexo_test/node_modules/hexo/node_modules/bluebird/js/release/promise.js:474:18)\n    at new Promise (/run/media/shark/Media/CrossPlatform/www/hexo_test/node_modules/hexo/node_modules/bluebird/js/release/promise.js:77:14)\n    at Tag.render (/run/media/shark/Media/CrossPlatform/www/hexo_test/node_modules/hexo/lib/extend/tag.js:64:10)\n    at Object.tagFilter [as onRenderEnd] (/run/media/shark/Media/CrossPlatform/www/hexo_test/node_modules/hexo/lib/hexo/post.js:253:16)\n    at /run/media/shark/Media/CrossPlatform/www/hexo_test/node_modules/hexo/lib/hexo/render.js:63:19\n    at tryCatcher (/run/media/shark/Media/CrossPlatform/www/hexo_test/node_modules/hexo/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/run/media/shark/Media/CrossPlatform/www/hexo_test/node_modules/hexo/node_modules/bluebird/js/release/promise.js:503:31)\n    at Promise._settlePromise (/run/media/shark/Media/CrossPlatform/www/hexo_test/node_modules/hexo/node_modules/bluebird/js/release/promise.js:560:18)\n    at Promise._settlePromise0 (/run/media/shark/Media/CrossPlatform/www/hexo_test/node_modules/hexo/node_modules/bluebird/js/release/promise.js:605:10)\n    at Promise._settlePromises (/run/media/shark/Media/CrossPlatform/www/hexo_test/node_modules/hexo/node_modules/bluebird/js/release/promise.js:684:18)\n    at Async._drainQueue (/run/media/shark/Media/CrossPlatform/www/hexo_test/node_modules/hexo/node_modules/bluebird/js/release/async.js:126:16)\n    at Async._drainQueues (/run/media/shark/Media/CrossPlatform/www/hexo_test/node_modules/hexo/node_modules/bluebird/js/release/async.js:136:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (/run/media/shark/Media/CrossPlatform/www/hexo_test/node_modules/hexo/node_modules/bluebird/js/release/async.js:16:14)\n    at processImmediate [as _immediateCallback] (timers.js:383:17)\n```\n\nI tried `hexo clean` and the `hexo g` but still have the same.\n\nIf I `hexo init` a new blog I can use `hexo g` but in my current one I can't.\n\nI also tried to replace my `_config.yml` by the default one but can generate too.\n"},"comment":{"url":"https://api.github.com/repos/hexojs/hexo/issues/comments/318884636","html_url":"https://github.com/hexojs/hexo/issues/1837#issuecomment-318884636","issue_url":"https://api.github.com/repos/hexojs/hexo/issues/1837","id":318884636,"user":{"login":"superarm","id":6882443,"avatar_url":"https://avatars0.githubusercontent.com/u/6882443?v=4","gravatar_id":"","url":"https://api.github.com/users/superarm","html_url":"https://github.com/superarm","followers_url":"https://api.github.com/users/superarm/followers","following_url":"https://api.github.com/users/superarm/following{/other_user}","gists_url":"https://api.github.com/users/superarm/gists{/gist_id}","starred_url":"https://api.github.com/users/superarm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superarm/subscriptions","organizations_url":"https://api.github.com/users/superarm/orgs","repos_url":"https://api.github.com/users/superarm/repos","events_url":"https://api.github.com/users/superarm/events{/privacy}","received_events_url":"https://api.github.com/users/superarm/received_events","type":"User","site_admin":false},"created_at":"2017-07-30T07:35:48Z","updated_at":"2017-07-30T07:35:48Z","body":"[root@host myhexo]# hexo generate --debug\r\n\r\n/usr/myhexo/node_modules/hexo/lib/extend/tag.js:184\r\n  body((err, result) => {\r\n                      ^\r\n07:32:54.948 ERROR Local hexo not found in /usr/myhexo\r\n07:32:54.953 ERROR Try running: 'npm install hexo --save'\r\n\r\nI've got the same question,and I've tried to reinstall the npm,or check the __config.yml  but find notiong wrong.  Sad..."}}
{"actor":{"display_login":"superarm"}}