github / github/pages-gem

Failed to serve site

Aperta
#893 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Ruby
Stelle
1.9k
Fork
360
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Before submitting an issue, please be sure to

- [X] Read [the contributing instructions](https://github.com/github/pages-gem/blob/master/docs/CONTRIBUTING.md#contributing-to-the-github-pages-gem)
- [X] Update to the latest Gem version (run `bundle update github-pages`)

### 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](https://github.com/github/pages-gem/blob/master/docs/SUPPORT.md).*

### 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):

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia riproducendo il fallimento segnalato di `bundle exec jekyll serve` e analizza la conversione di `assets/main.scss`. L’errore punta al file `connection.rb` di sass-embedded e a un’intestazione ELF non valida nell’eseguibile Dart Sass incluso; il lavoro è completato quando il sito viene servito localmente senza l’errore di conversione SCSS.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
jekyll, ruby, scss
Ambito
build-system
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.