### Bug description

# Configuration

quarto release `1.2.258` 

quarto tools:

```
[✓] Inspecting tools
Tool         Status            Installed     Latest  
chromium     Not installed     ---           869685  
tinytex      Up to date        v2022.11      v2022.11
```

OS:

```
Systemversion:	macOS 13.0 (22A380)
Kernel-Version:	Darwin 22.1.0
```

# Minimal example

I created the following quarto document called `test.qmd`


````{quarto}
---
format:
  pdf:
    default
---

```{dot}
//| fig-cap: "Caption"
//| label: fig-efa
digraph D {

  A [shape=diamond]
  B [shape=box]
  C [shape=circle]

  A -> B [style=dashed, color=grey]
  A -> C [color="black:invis:black"]
  A -> D [penwidth=5, arrowhead=none]

}
```

````

Subsequently I render the document using the following command from the command line or use the inbuilt quarto render function of the vscode extension.

```{bash}
quarto render test.qmd
```

# Expected behavior

I would expect a PDF document to render, including the graph diagram.

# Actual Behavior

I receive the following error message and no PDF or intermediary files are produced.

````
ERROR: NotFound: No such file or directory (os error 2)
````

# Remarks

Rendering html documents works with  the example above when changing

```{yaml}
format:
  pdf:
    default
```

to

```{yaml}
format:
  html:
    default
```

in the file `test.qmd`.

Rendering the document without the `dot` code chunk works without problems

### 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://quarto.org/bug-reports.html#formatting-make-githubs-markdown-work-for-us) so it is easier for us to read the bug report.
- [X] 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-11-04T18:35:14Z
philwunderlich
enhancement
v1.3
closed
Improve error message when Chrome and Chromium are not installed
https://github.com/quarto-dev/quarto-cli/issues/3177