Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Failed to serve site

Đang mở
#893 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
jekyll, ruby, scss
Lĩnh vực
build-system

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện lỗi bundle exec jekyll serve đã được báo cáo và kiểm tra quá trình chuyển đổi assets/main.scss. Lỗi trỏ đến connection.rb của sass-embedded và một ELF header không hợp lệ trong tệp thực thi Dart Sass đi kèm; công việc được xem là hoàn tất khi site có thể được phục vụ cục bộ mà không gặp lỗi chuyển đổi SCSS.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Before submitting an issue, please be sure to
This issue affects
  • The site generated by GitHub Pages
  • 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):
Ngôn ngữ chính
Ruby
Star
1.9k
Fork
361
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của github/pages-gem

Tất cả issue của github/pages-gem

Issue tương tự

Thêm issue về Ruby

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.