simplest icon indicating copy to clipboard operation
simplest copied to clipboard

Page build failed

Open JTuwiner opened this issue 9 years ago • 7 comments

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

JTuwiner avatar Jan 12 '16 18:01 JTuwiner

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!

nandomoreira-jekyll-theme/issues/2

nandomoreirame avatar Jan 13 '16 00:01 nandomoreirame

Or you can configure integration continues with travis

Look the files

anything just call me :blush:

nandomoreirame avatar Jan 13 '16 00:01 nandomoreirame

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?

JTuwiner avatar Jan 13 '16 21:01 JTuwiner

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?

mnuruddin avatar Feb 04 '16 19:02 mnuruddin

@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

codinfox avatar Mar 14 '16 00:03 codinfox

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

JTuwiner avatar Apr 09 '16 07:04 JTuwiner

Try removing the gemfile.lock @JTuwiner

codinfox avatar Apr 09 '16 15:04 codinfox