Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deno install --unstable-kv don't work #22154

Closed
thomas3577 opened this issue Jan 27, 2024 · 1 comment · Fixed by #22164
Closed

deno install --unstable-kv don't work #22154

thomas3577 opened this issue Jan 27, 2024 · 1 comment · Fixed by #22164

Comments

@thomas3577
Copy link

thomas3577 commented Jan 27, 2024

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();
           ^
@zefhemel
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants