simplest
simplest copied to clipboard
Page build failed
Hi, I'm trying to build the site on Github pages. For some reason, when I run it locally I get no errors but on the Github site I get this build error:
The file
source/assets/css/main.scsscontains syntax errors. For more information, see https://help.github.com/articles/page-build-failed-markdown-errors.
Any ideas on how to fix this? Repo here: https://github.com/JTuwiner/jtuwiner.github.io
Hi @JTuwiner, thanks for using my theme ;)
The Github does not accept custom plugins for Jekyll :flushed:
Use the Rake task to build and send to branch gh-pages...
See this tutorial >> http://ixti.net/software/2013/01/28/using-jekyll-plugins-on-github-pages.html
Thanks!
Thanks for your response! I really like the theme design so let's try to get it working.
Can I just delete the plugins so that I can keep the theme design?
Hi @nandomoreirame.
I'm trying to build the site on github pages using your theme. I have completed travis deployment. But when I open my page, it's shows 404 not found. And I'm not using CNAME.
Any ideas how to fix this?
@JTuwiner @uudshan The issue is due to the plugin Bourbon, which is a scss library. To fix the issue, you just need to extract the library:
- Install Bourbon locally:
gem install bourbon - Go to
assets/scss/directory, and run:bourbon install - Modify the
main.scssfile. Change the first line from@import "bourbon";to@import "bourbon/bourbon"; - Remove the plugin
bourbonfrom_config.yml
I am using this theme now. And it works just fine. You can see it here: https://github.com/codinfox/TIL
@codinfox
I followed what you said to do but still get:
WARN: Unresolved specs during Gem::Specification.reset: jekyll-watch (~> 1.1) WARN: Clearing out unresolved specs. Please report a bug if this causes problems.
And on GitHub repo I get this error:
Your site is having problems building: Page build failed. For more information, see https://help.github.com/articles/troubleshooting-github-pages-build-failures.
Try removing the gemfile.lock @JTuwiner