### Bug description

I had a document with a graphviz chart, and when I rendered to PDF I got the following error:

```
▷ quarto render Quarto.qmd --to pdf
ERROR: NotFound: No such file or directory (os error 2)
Exception: quarto exited with 1
[tty 150], line 1: quarto render Quarto.qmd --to pdf
```

Rendering to HTML and there was no problem, and rereading the docs I realised I needed to install Chromium. After installing (`quarto install tool chromium`) then the error message goes away. It would be good if Quarto could offer a more descriptive error message when chromium is required.

```
▶︎ quarto check

[✓] Checking Quarto installation......OK
      Version: 1.1.163
      Path: /Applications/quarto/bin

[✓] Checking basic markdown render....OK

[✓] Checking Python 3 installation....OK
      Version: 3.10.3
      Path: /Users/ian/.pyenv/versions/3.10.3/bin/python3
      Jupyter: (None)

      Jupyter is not available in this Python installation.
      Install with python3 -m pip install jupyter

[✓] Checking R installation...........OK
      Version: 4.2.1
      Path: /Library/Frameworks/R.framework/Resources
      LibPaths:
        - /Library/Frameworks/R.framework/Versions/4.2/Resources/library
      rmarkdown: 2.14

[✓] Checking Knitr engine render......OK
```

macOS 12.5.1

### Checklist

- [x] Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- [X] Please [format your issue](https://yihui.org/issue/#please-format-your-issue-correctly) so it is easier for us to read the bug report.
- [ ] Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- [X] Please document the operating system you're running. If on Linux, please provide the specific distribution.
cscheid
2022-08-30T15:54:35Z
iandol
bug mermaid chromium
v1.3
closed
Cryptic error message when chromium is not yet installed
https://github.com/quarto-dev/quarto-cli/issues/2214