Closed Katze719 closed 3 weeks ago
Version: deno 2.0.0-rc.2 (release candidate, release, x86_64-unknown-linux-gnu) v8 12.9.202.13-rusty typescript 5.5.2
using deno via docker container denoland/deno:latest
denoland/deno:latest
when i try to use Deno.openKv() it will spit out this error message:
Deno.openKv()
error: Uncaught (in promise) TypeError: Deno.openKv is not a function const kv = await Deno.openKv()
is /// <reference lib="deno.unstable" /> still required?
/// <reference lib="deno.unstable" />
Add the --unstable-kv flag to your command like:
--unstable-kv
deno run --unstable-kv my-script.ts
Version: deno 2.0.0-rc.2 (release candidate, release, x86_64-unknown-linux-gnu) v8 12.9.202.13-rusty typescript 5.5.2
using deno via docker container
denoland/deno:latest
when i try to use
Deno.openKv()
it will spit out this error message:is
/// <reference lib="deno.unstable" />
still required?