Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Page build failed #1

Open
JTuwiner opened this issue Jan 12, 2016 · 7 comments
Open

Page build failed #1

JTuwiner opened this issue Jan 12, 2016 · 7 comments

Comments

@JTuwiner
Copy link

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.scss contains 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

@nandomoreirame
Copy link
Owner

Hi @JTuwiner, thanks for using my theme ;)

The Github does not accept custom plugins for Jekyll 😳

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!

nandomoreira-jekyll-theme/issues/2

@nandomoreirame
Copy link
Owner

Or you can configure integration continues with travis

Look the files

anything just call me 😊

@JTuwiner
Copy link
Author

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?

@mnuruddin
Copy link

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?

@codinfox
Copy link

@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:

  1. Install Bourbon locally: gem install bourbon
  2. Go to assets/scss/ directory, and run: bourbon install
  3. Modify the main.scss file. Change the first line from @import "bourbon"; to @import "bourbon/bourbon";
  4. Remove the plugin bourbon from _config.yml

I am using this theme now. And it works just fine. You can see it here: https://github.com/codinfox/TIL

@JTuwiner
Copy link
Author

JTuwiner commented Apr 9, 2016

@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.

@codinfox
Copy link

codinfox commented Apr 9, 2016

Try removing the gemfile.lock @JTuwiner

bernease added a commit to bernease/bernease.github.io that referenced this issue Feb 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants