Hi, I am taking a SQL class which also uses DENO - needless to say, this is my first experience with DENO.
I am using a main.ts script (from https://github.com/csev/deno-kv-admin/blob/main/main.ts) and when I run deploy (from the playground) I get the following error message:
TypeError: Deno.openKv is not a function
at file:///app/src/main.ts:7:23
error: Uncaught (in promise) TypeError: Deno.openKv is not a function
const kv = await Deno.openKv();
^
at file:///app/src/main.ts:7:23
info: Deno.openKv() is an unstable API.
hint: Run again with `--unstable-kv` flag to enable this API.
TypeError: Deno.openKv is not a function
at file:///app/src/main.ts:7:23
-
where do I run the hint ( hint: Run again with
--unstable-kvflag to enable this API.)??? It may be clear to you, but it sure isn't to me -
Would using the old environment ("classic" which can be used until June 25 this year) make a difference? How do I even get to it? It showed when I first entered, but is not now...
-
Could someone explain to me what is going on?