deno icon indicating copy to clipboard operation
deno copied to clipboard

deno install --unstable-kv don't work

Open thomas3577 opened this issue 1 year ago • 1 comments

Version: Deno 1.40.2

When I try to install an app that uses Deno.KV and then run it, I get the following error message:

Uncaught (in promise) TypeError: Deno.openKv is not a function.

Minimal example (main.ts):

await Deno.openKv();

Install

deno install --unstable-kv -n mycli ./main.ts

Run

mycli
error: Uncaught (in promise) TypeError: Deno.openKv is not a function
await Deno.openKv();
           ^

thomas3577 avatar Jan 27 '24 20:01 thomas3577

Yep, just noticed the same. Falling back to use --unstable for now (with a warning, but at least it works).

zefhemel avatar Jan 28 '24 13:01 zefhemel