Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#14,890 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
62/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
dart, javascript
領域
build-system, cli

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
JavaScript
スター
6.1k
フォーク
463
平均マージ
21時間 14分
マージ済み PR(30日)
60

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

quarto-dev/quarto-cli のほかの issue

quarto-dev/quarto-cli の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。