Hexo报错YAMLException:incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line at line 1, column 46
Hexo生成时报错 ERROR Process failed: _posts/Hadoop20201203.md YAMLException: incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line at line 1, column 46: 寻找原因 有位博主说可能是因为冒号的原因,“yaml格式很严格,在:冒号之后要有空格”,我看了看我的文件,发现是正常的。 解决办法 忽然想到会不会是我其他地方也用了: ,冒号加空格,果然是这样,删掉空格就OK了,保证冒号加空格之前只能是健,后边是值。