JS-YAML: can not read a block mapping entry; a multiline key may not be an implicit key at line 2, c

10,009 views
Skip to first unread message

Darwin Airola

unread,
Apr 29, 2015, 3:48:28 PM4/29/15
to he...@googlegroups.com
When I try to create my first blog post, I obtain the following (basically useless -- to me -- error):

FATAL Something's wrong. Maybe you can find the solution here: http://hexo.io/docs/troubleshooting.html

JS-YAML: can not read a block mapping entry; a multiline key may not be an implicit key at line 2, column 5:

date: 2015-04-29 12:43:04


Does someone understand this and how to resolve it?

Have a great day.

Take care,
Darwin




Darwin Airola

unread,
Apr 29, 2015, 3:53:38 PM4/29/15
to he...@googlegroups.com
I solved the problem, myself.

For anyone else who struggles with this problem: it appears that one must double escape quotation marks within a blog post's name in order to get Hexo to deal with it properly.

Have a great day.

Take care,
Darwin

Jerry Ling

unread,
Aug 1, 2015, 8:15:20 AM8/1/15
to Hexo
That helped. Thank you.

Eric Wang

unread,
Dec 21, 2015, 10:36:25 AM12/21/15
to Hexo

ERROR Process failed: _posts/CCF-sixth-CSP-certification-exams-programming-probl
ems.md
JS-YAML: can not read a block mapping entry; a multiline key may not be an impli
cit key at line 5, column 1:

    ^
ERROR Process failed: _posts/CCF-sixth-CSP-certification-exams-Solutions.md
JS-YAML: can not read a block mapping entry; a multiline key may not be an impli
cit key at line 5, column 1:

how can i solve this???

Rob Carney

unread,
May 25, 2016, 7:57:49 PM5/25/16
to Hexo
I got that error when I accidentally typed my tag list like this:

-tag1
-tag2

I fixed it by ensuring there were spaces between the dash and the tag name like this:

- tag1
- tag2


On Wednesday, April 29, 2015 at 12:48:28 PM UTC-7, Darwin Airola wrote:
Reply all
Reply to author
Forward
0 new messages