美文网首页
使用hexo s命令报错ERROR Process failed

使用hexo s命令报错ERROR Process failed

作者: 否极泰来_L | 来源:发表于2017-11-23 18:10 被阅读238次

    使用hexo s或hexo g终端命令是报错ERROR Process failed: _posts/name.md,如下图

    192:my_hexo ******$ hexo s
    INFO  Start processing
    ERROR Process failed: _posts/name.md
    YAMLException: incomplete explicit mapping pair; a key node is missed at line 1, column 23:
        title: ssh无法连接 WARNING: REMOTE HOST IDENTIFICATION HAS ... 
                              ^
        at generateError (/Users/weizhongming/Desktop/my_hexo/node_modules/js-yaml/lib/js-yaml/loader.js:162:10)
        at throwError (/Users/weizhongming/Desktop/my_hexo/node_modules/js-yaml/lib/js-yaml/loader.js:168:9)
    

    这个报错已经给了提示,在name.md文件的第一行有错误,基本是md语法错误。比如上图的报错是因为在title:的后面写的文章title里有:,所以报错

    相关文章

      网友评论

          本文标题:使用hexo s命令报错ERROR Process failed

          本文链接:https://www.haomeiwen.com/subject/bzxtbxtx.html