#36899·deno

`deno bundle` gives confusing error message when dependency is newer than `min-dep-age`

Author: lionel-roweCreated Sep 24, 2026Updated Sep 24, 2026

Version: Deno 2.9.7

Example (at time of writing, depends on when package was published):

bash
deno bundle jsr:@li/[email protected]

Output:

bash
⚠️  deno bundle is experimental and subject to changes
error: Do not know how to load path: deno:jsr:@li/[email protected]
error: bundling failed

Actual error is due to https://github.com/denoland/deno/issues/36358, and the fix is to add --min-dep-age=0 flag, but there's no way to know that from the error message.

Ideally the error messages from import-ing and deno bundle-ing would both specify that supplying the --min-dep-age flag is the fix.