Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Render to HTML fails on macOS 12 (Intel): the bundled dart-sass does not start

Offen
#14,890 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
62/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
dart, javascript
Bereich
build-system, cli

Rechercherichtung

Start by reproducing the failure with the minimal test.qmd and inspect the dartCommand and dartCompile entry points shown in quarto.js. Trace how the bundled dart-sass binary is selected for macOS x86_64. Done means HTML rendering and quarto check work on macOS 12 while PDF rendering remains unaffected.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

bug
I have:
  • searched the issue tracker for similar issues
  • installed the latest version of Quarto CLI
  • formatted my issue following the Bug Reports guide
Bug description

On macOS 12.7.6 (Intel), Quarto 1.10.18 cannot render any document to HTML.
The render stops with the error Theme file compilation failed: and an empty message.
Render to PDF works.
The cause: Quarto 1.10 bundles dart-sass 1.101.0.
The macOS x64 binary of dart-sass contains the Dart VM, and Dart requires macOS 13 or later.
The binary does not start on macOS 12.

Steps to reproduce

Minimum repro

  1. Run echo "hi" > test.qmd.
  2. Run quarto render test.qmd.
Actual behavior
ERROR: Theme file compilation failed:



Stack trace:
    at dartCommand (file:///Applications/quarto/bin/quarto.js:79972:11)
    at async dartCompile (file:///Applications/quarto/bin/quarto.js:79926:3)
    at async SassCache.setFromHash (file:///Applications/quarto/bin/quarto.js:80089:11)
    at async compileSass (file:///Applications/quarto/bin/quarto.js:87474:19)
    at async resolveSassBundles (file:///Applications/quarto/bin/quarto.js:125332:17)
    ...

The message after the colon is empty.

Render to PDF works on the same machine.
PDF output does not use dart-sass.

Expected behavior

Expected result: Quarto creates test.html.

Your environment
  • macOS 12.7.6, Intel (x86_64)
  • Quarto 1.10.18, installed at /Applications/quarto
  • No project is necessary. The error occurs in an empty directory.
Quarto check output

quarto check fails with the same error.

Vorherrschende Sprache
JavaScript
Sterne
6.1k
Forks
463
Ø Merge
20 Std. 30 Min.
Gemergte PRs (30 T.)
60

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus quarto-dev/quarto-cli

Alle Issues in quarto-dev/quarto-cli

Ähnliche Issues

Weitere Issues zu JavaScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.