GitHub Page Build Failure Solution

Note: This is a part of solutions for solving belowing problem message from GitHub Page. It may be other solutions for solving the problem.


  1. My jekyll page can run locally.

  2. I got an email "[] Page build failure"

  3. I asked supportor that the facing problem

    I don't understand why my file contains syntax errors. Because I can run normally this file in local (using jekyll serve) Can you show me more information about this errors or suggest anything.

  4. He responded me

    You should be running your site locally exactly as per these instructions:

    I cloned your repository and reproduced the issue locally by using a Gemfile and running:

    bundle exec jekyll build

    Which produced the error details:

    Conversion error: Jekyll::Converters::Markdown encountered an error converting '_posts/'. ...

    ClassNotFound('no lexer for alias %r found' % _alias) ClassNotFound: no lexer for alias 'shell' found


You can't use shell as a lexer name. Try bash instead.

If you have any question or suggestion, don't forget to comment this post. Thank you.