Render to HTML fails on macOS 12 (Intel): the bundled dart-sass does not start
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 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 内容生成。
描述
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
- Run
echo "hi" > test.qmd. - 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
- 派生
- 466
- 平均合并
- 20 小时 30 分钟
- 30 天内合并 PR
- 60
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
quarto-dev/quarto-cli 的其他 Issue
-
Revealjs: code block at the end of a callout lost its bottom spacing since 1.8.15可能已有人在做 @cderv 今天认领。 未关闭bug callouts regression revealjs
难度 2/5 1-3 小时 新手友好度 72/100
quarto-dev/quarto-cli#15014 ·
维护者通常 1 天内回复
-
accessibility documentation revealjs
难度 2/5 1-3 小时 新手友好度 86/100
quarto-dev/quarto-cli#14971 ·
维护者通常 1 天内回复
-
accessibility revealjs
难度 2/5 1-3 小时 新手友好度 88/100
quarto-dev/quarto-cli#14970 · 1 条评论 ·
维护者通常 1 天内回复
-
accessibility revealjs themes
难度 2/5 1-3 小时 新手友好度 78/100
quarto-dev/quarto-cli#14963 ·
维护者通常 1 天内回复
-
accessibility revealjs themes
难度 1/5 1 小时以内 新手友好度 88/100
quarto-dev/quarto-cli#14962 ·
维护者通常 1 天内回复
查看 quarto-dev/quarto-cli 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 76/100
-
enhancement
难度 1/5 1-3 小时 新手友好度 85/100
holepunchto/hrpc-test#28 ·
-
good first issue
难度 1/5 1-3 小时 新手友好度 88/100
anoopcodehack/DevBoard#616 ·
维护者通常 2 天内回复
-
idnits3
难度 2/5 1-3 小时 新手友好度 63/100
ietf-tools/idnits#319 ·
-
难度 1/5 1 小时以内 新手友好度 76/100
521xueweihan/HelloGitHub#3939 ·