Skip to content

dx does not support --unstable-* flags #33171

@tugrulates

Description

@tugrulates

Version: Deno 2.7.11

Unstable flags are listed in dx help.

dx --help=unstable | grep -Eo 'unstable-\w+'
unstable-bare
unstable-bundle
unstable-cron
unstable-detect
unstable-kv
unstable-lazy
unstable-lockfile
unstable-net
unstable-no
unstable-node
unstable-npm
unstable-raw
unstable-sloppy
unstable-tsgo
unstable-unsafe
unstable-webgpu
unstable-worker

But they don't seem to work.

dx --unstable-kv jsr:@tugrulates/test@0.0.1-bug-dx-unstable.1
error: Uncaught (in promise) TypeError: Deno.openKv is not a function
const kv = await Deno.openKv(":memory:");
                      ^
    at https://jsr.io/@tugrulates/test/0.0.1-bug-dx-unstable.1/test.ts:1:23

    info: Deno.openKv() is an unstable API.
    hint: Run again with `--unstable-kv` flag to enable this API.
deno run --unstable-kv jsr:@tugrulates/test@0.0.1-bug-dx-unstable.1
{ key: [ "foo" ], value: 42, versionstamp: "00000000000000070000" }

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