pages-gem icon indicating copy to clipboard operation
pages-gem copied to clipboard

Failed to serve site

Open LauraVrkmp opened this issue 2 years ago • 2 comments

Before submitting an issue, please be sure to

This issue affects

  • [ ] The site generated by GitHub Pages
  • [X] Building sites locally

The GitHub Pages Gem is intended to help users replicate the GitHub Pages build environment locally. If your issue affects both the hosted version and the version previewed locally, you may be better suited reporting seeking support in other forums.

What did you do (e.g., steps to reproduce)

I followed the installation steps up and including 'bundle exec jekyll serve'.

What did you expect to happen?

The site to be served.

What happened instead?

I got the following error and the site did not serve.

/var/lib/gems/3.1.0/gems/sass-embedded-1.69.5-x86_64-linux/lib/sass/embedded/connection.rb:41: warning: /var/lib/gems/3.1.0/gems/sass-embedded-1.69.5-x86_64-linux/ext/sass/dart-sass/src/dart: error while loading shared libraries: /lib/x86_64-linux-gnu/libc.so: invalid ELF header Conversion error: Jekyll::Converters::Scss encountered an error while converting 'assets/main.scss':
end of file reached bundler: failed to load command: jekyll (/usr/local/bin/jekyll)

Additional information

  • Link to the live site (if applicable):
  • Link to the source repo (if applicable):

LauraVrkmp avatar Nov 29 '23 00:11 LauraVrkmp

It's impossible to help you without a link to the source. My first check would be to see if all the Sass files (including imports) are present, especially for your theme if you're using one.

parkr avatar Nov 29 '23 20:11 parkr

.

known-samy avatar Dec 20 '23 07:12 known-samy