Skip to content

Incorrect lockfile installed by deno install --globalΒ #33323

@NfNitLoop

Description

@NfNitLoop

Version: Deno v2.7.8-2.7.12

Deno was updated in v2.7.8 with PR #32490 to install lockfiles from jsr when doing a global install.

However, that doesn't seem to be working properly.

When I run:

deno install --global --force --reload jsr:@nfnitloop/gemi@0.0.4

I would expect the lockfile at this location to be used:
https://jsr.io/@nfnitloop/gemi/0.0.4/deno.lock

It has specifier:

    "jsr:@hono/hono@^4.8.2": "4.8.2",

But what gets installed in ~/.deno/bin/.gemi/deno.lock has a newer specifier:

    "jsr:@hono/hono@^4.8.2": "4.12.10",

... which seems to defeat the purpose of a lock file. πŸ˜…

For more context/details, see my comment on the original feature request:
#30610 (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