【问题标题】:Github page build failure with no relevant error logGithub 页面构建失败,没有相关错误日志
【发布时间】:2016-12-13 05:06:22
【问题描述】:

我能够在本地构建和提供我的 jekyll 博客而没有任何错误,但是当我推送更新的更改时,我从 Github 收到页面构建失败错误。

The page build failed with the following error:

Page build failed. For more information, see https://help.github.com/articles/troubleshooting-github-pages-build-failures.

For information on troubleshooting Jekyll see:

  https://help.github.com/articles/troubleshooting-jekyll-builds

这里有问题的github repo:https://github.com/prodicus/tasdikrahman.me/

【问题讨论】:

    标签: build jekyll github-pages


    【解决方案1】:

    对于您的本地构建,您必须使用 bundle update 更新 gem。您会看到有一个“荧光笔”警告。

    关于 github 页面。我只是 forked your repo 和它 builds (做了非常小的修改)只有相同的荧光笔警告:

    页面构建成功完成,但返回以下警告: 您正在尝试使用 'pygments' 荧光笔,目前 GitHub Pages 不支持该荧光笔。您的网站将使用“胭脂”来突出显示。要抑制此警告,请将 '_config.yml' 中的 'highlighter' 值更改为 'rouge' 并确保未设置 'pygments' 键。如需更多信息,请参阅https://help.github.com/articles/page-build-failed-config-file-error/#fixing-highlighting-errors

    你可以试着把荧光笔换成胭脂吗?

    【讨论】:

    • 是的,在我将荧光笔更改为 rouge 后它可以工作。我尝试运行bundle update,但它给我一个Liquid Exception: cannot load such file。完整追溯这里http://pastebin.com/LZzB8At2
    • 更新:bundle update在将荧光笔更新为rouge后解决了问题
    猜你喜欢
    • 1970-01-01
    • 2015-03-12
    • 1970-01-01
    • 2020-04-09
    • 1970-01-01
    • 2021-03-04
    • 2013-09-29
    • 2017-02-11
    • 1970-01-01
    相关资源
    最近更新 更多