[hexo] Cannot start local hexo server "unknown block tag: endraw"
wildhart opened this issue · 0 comments
wildhart commented
Trying to run local hexo server from fresh clone, on Linux Mint:
$ git clone https://github.com/meteor/guide.git
$ cd guide
$ git submodule update --recursive --init
$ cd site
$ npm install
$ npm start
> meteor-guide@1.0.0 start /home/chris/meteor-docs/guide/site
> npm run build && chexo meteor-hexo-config -- server
> meteor-guide@1.0.0 build /home/chris/meteor-docs/guide/site
> chexo meteor-hexo-config -- generate
INFO Config based on 2 files
INFO Start processing
FATAL Something's wrong. Maybe you can find the solution here: https://hexo.io/docs/troubleshooting.html
Nunjucks Error: [Line 6, Column 13] unknown block tag: endraw
===== Context Dump =====
=== (line number probably different from source) ===
1 | <h2 id="breaking-changes">Breaking changes</h2>
2 |
3 | <p>These are all the <em>breaking changes</em> — that is, changes you absolutely have to worry about if you are updating your app from 1.3.x to 1.4. However, we recommend that you also consider the <em>recommended</em> changes <a href="#recommendations">listed below</a>.</p>
4 | <h3 id="The-babel-runtime-npm-is-usually-required"><a href="#The-babel-runtime-npm-is-usually-required" class="headerlink" title="The babel-runtime npm is usually required"></a>The <code>babel-runtime</code> npm is usually required</h3><p><a name="babel-runtime-required"></a></p>
5 | <p>The <code>babel-runtime</code> npm package is generally required as a dependency since the Meteor <code>babel-runtime</code> package no longer attempts to provide custom implementations of Babel helper functions. To install the <code>babel-runtime</code> npm, run the following command in any Meteor application:</p>
6 | <!--0-->{% endraw %}
7 |
8 |
9 |
10 | <p>One place this is particularly useful is in <a href="https://github.com/meteor/todos/commit/3963a65d96cd7ef235a95d5e3a331d6f0606f70f">test files that are only intended to run on the client or the server</a> — you can now use <code>import</code> wherever you like, without having to organize your tests in <code>client</code> or <code>server</code> directories.</p>
11 |
===== Context Dump Ends =====
at formatNunjucksError (/home/chris/meteor-docs/guide/site/node_modules/hexo/lib/extend/tag.js:102:13)
at Promise.fromCallback.catch.err (/home/chris/meteor-docs/guide/site/node_modules/hexo/lib/extend/tag.js:124:34)
at tryCatcher (/home/chris/meteor-docs/guide/site/node_modules/hexo/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/home/chris/meteor-docs/guide/site/node_modules/hexo/node_modules/bluebird/js/release/promise.js:517:31)
at Promise._settlePromise (/home/chris/meteor-docs/guide/site/node_modules/hexo/node_modules/bluebird/js/release/promise.js:574:18)
at Promise._settlePromise0 (/home/chris/meteor-docs/guide/site/node_modules/hexo/node_modules/bluebird/js/release/promise.js:619:10)
at Promise._settlePromises (/home/chris/meteor-docs/guide/site/node_modules/hexo/node_modules/bluebird/js/release/promise.js:695:18)
at _drainQueueStep (/home/chris/meteor-docs/guide/site/node_modules/hexo/node_modules/bluebird/js/release/async.js:138:12)
at _drainQueue (/home/chris/meteor-docs/guide/site/node_modules/hexo/node_modules/bluebird/js/release/async.js:131:9)
at Async._drainQueues (/home/chris/meteor-docs/guide/site/node_modules/hexo/node_modules/bluebird/js/release/async.js:147:5)
at Immediate.Async.drainQueues [as _onImmediate] (/home/chris/meteor-docs/guide/site/node_modules/hexo/node_modules/bluebird/js/release/async.js:17:14)
at runCallback (timers.js:696:18)
at tryOnImmediate (timers.js:667:5)
at processImmediate (timers.js:649:5)
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! meteor-guide@1.0.0 build: `chexo meteor-hexo-config -- generate`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the meteor-guide@1.0.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.