Trouble accessing Deno KV via the Deno CLI
I'm trying to connect to a Deno KV via the CLI with the following simple code:
I have an access token set up in my account settings, as shown in the first screen shot. I also have an environment variable
Why is this happening?
I have an access token set up in my account settings, as shown in the first screen shot. I also have an environment variable
DENO_KV_ACCESS_TOKEN exported into my shell and when I run deno run --unstable main.ts, I allow access to that variable as shown int he second screenshot but I get the following error: Uncaught NotFound: Missing DENO_KV_ACCESS_TOKEN environment variable. Please set it to your access token from https://dash.deno.com/accountWhy is this happening?


