Skip to content

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

Description

@lionel-rowe

Version: Deno 2.9.7

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

deno bundle jsr:@li/inner-text@0.0.8

Output:

⚠️  deno bundle is experimental and subject to changes
error: Do not know how to load path: deno:jsr:@li/inner-text@0.0.8
error: bundling failed

Actual error is due to #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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions