Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

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

Abierto
#14,890 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
62/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
dart, javascript
Área
build-system, cli

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
JavaScript
Estrellas
6.1k
Forks
466
Merge medio
20 h 30 min
PR fusionados (30 d)
60

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de quarto-dev/quarto-cli

Todos los issues de quarto-dev/quarto-cli

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.