“页面构建失败";在将新博客文章推送到github时 [英] "page build failed" when pushing a new blog post to github

查看:83
本文介绍了“页面构建失败";在将新博客文章推送到github时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用jekyll bootstrap托管在github上的博客.它已经工作了一段时间,但是最近一次我尝试发布新的博客页面时,将其推送到github失败了:

I've got a blog hosted on github using jekyll bootstrap. It's been working for a while now, but the last new times I've tried to post a new blog page it's failed the pushed to github:

页面构建失败,并出现以下错误:

The page build failed with the following error:

页面构建失败

有关对Jekyll进行故障排除的信息,请参见 https://help.github.com/articles/using-jekyll-with-pages#troubleshooting 如有任何疑问,请联系GitHub支持.

For information on troubleshooting Jekyll see https://help.github.com/articles/using-jekyll-with-pages#troubleshooting If you have any questions please contact GitHub Support.

我尝试删除最近添加的帖子,以便与实时"版本保持一致,并且我在本地运行了jekyll --safe(没有问题).我可以运行jekyll --server并在本地运行该站点,一切都很好,但是当我按下它时,就不会感到高兴.我已经删除了我的jekyll gem及其依赖项,并使用与github使用的版本相匹配的版本重新添加了,那里也没有乐趣.

I've tried deleting the recent posts I've added so that I'm consistent with the "live" version, and I've run jekyll --safe locally (no issues). I can run jekyll --server and run the site locally and all is fine, but when I push it, no joy. I've removed my jekyll gems and its dependencies, and re-added using the versions that match the versions being used by github, and no joy there either.

在我恢复删除整个博客并重新开始之前,有人可以建议其他尝试吗?

Before I revert to deleting the entire blog and starting it again, can anyone suggest something else to try?

推荐答案

已修复.

出于某种原因,我帖子中的类别被方括号括起来代表一个集合-不再受支持(可能不再受支持,但让我摆脱它).更改了此选项,现在一切正常.

For some reason my categories in my posts were surrounded in square brackets which represents a collection - this is not supported any more (likely it was never supported but just let me get away with it). Changed this and all is working now.

这篇关于“页面构建失败";在将新博客文章推送到github时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆