### Bug description

I'm trying to run the [example Deno script code](https://quarto.org/docs/projects/scripts.html#deno-scripts) inside a Quarto project (that does have a `_quarto.yml`).

Here's my script, `snel.ts`:

```ts
import { parse } from "https://deno.land/std/encoding/yaml.ts";

const config = parse(Deno.readTextFileSync("_quarto.yml"));
```

When I ran this on Quarto 1.3.21, I got an error:

```
$ quarto run snel.ts
error: Specifier not found in cache: "https://deno.land/std@0.153.0/encoding/yaml.ts", --cached-only is specified.
    at file:///[project path]/snel.ts:1:23
```

I understand that Quarto's Deno can't download modules, but I would assume that this module is one of the cached ones.

I've now upgraded to Quarto 1.3.56, but I'm getting a similar-sounding error:

```
$ quarto run snel.ts
error: Module not found "file:///Users/jgol0005/Applications/quarto/vendor/deno.land/std@0.166.0/encoding/yaml.ts".
    at file:///[project path]/snel.ts:1:23
```

Having a look at the contents of the newly installed Quarto, it looks like the path relative to the Quarto installation should probably be `/bin/vendor/deno-land` rather than `/vendor/deno.land`, although I can't see `encoding/yaml.ts` in any of the cached `std@[version]` directories:

![Screen Shot 2022-12-21 at 11 17 12](https://user-images.githubusercontent.com/6520659/208791677-4deb2547-c2c3-4c76-99c5-863d5878e224.png)

Does Quarto manage filling this cache on demand, or should the full standard library be there on install?

### 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-12-21T00:21:05Z
jimjam-slam
bug needs-repro
v1.3
closed
Can't import std lib module for example Deno script
https://github.com/quarto-dev/quarto-cli/issues/3723