On Monday, July 14, 2014 11:05:18 PM UTC-4, Chris Chau wrote:
>
> C:\Users\Chris\Dropbox\blog>hexo server -i 127.0.0.1
>
>> [error] { name: 'HexoError',
>> reason: 'incomplete explicit mapping pair; a key node is missed',
>> mark:
>> { name: null,
>> buffer: 'categories: Categories\nsearch: Search\ntags:
>> Tags\ntagcloud: Tag
>> Cloud\nprev: Prev\nnext: Next\ncomment: Comments\ncontents:
>> Contents\narchive_a:
>> Archives\narchive_b: Archives: %s\npage: Page %d\nrecent_posts: Recent
>> Posts\nm
>> enu: Menu\nlinks: Links\nrss: RSS\nshowsidebar: Show
>> Sidebar\nhidesidebar: Hide
>> Sidebar\nupdated: Updated\n\u0000',
>> position: 167,
>> line: 9,
>> column: 19 },
>> message: 'Process failed: languages/default.yml',
>>
>
>
The error is saying that the yaml file (languages/default.yml I'm assuming)
is invalid, there is some kind of syntax error where a "key node" is
missing. Judging by the `buffer` value, it looks like the null character at
the end of that yaml file (represented by \u0000 up above) might be the
cause. Try deleting that null character and retry your command.
--
Job board: http://jobs.nodejs.org/
New group rules:
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
---
You received this message because you are subscribed to the Google Groups
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/nodejs/02cce44d-f0e0-4cbf-9b1f-2cc671c8fc6f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.