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

Better error message when missing --unstable #21712

Open
marvinhagemeister opened this issue Dec 27, 2023 · 0 comments · May be fixed by #21764
Open

Better error message when missing --unstable #21712

marvinhagemeister opened this issue Dec 27, 2023 · 0 comments · May be fixed by #21764
Labels
feat new feature (which has been agreed to/accepted) runtime Relates to code in the runtime crate

Comments

@marvinhagemeister
Copy link
Contributor

From Discord

I run the command deno task build on a fresh project and i get the error

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

I have like saas boilerplate the line

export const kv = await Deno.openKv(path);

Why do i have this error ?

We should print a hint that this is gated behind --unstable in the error message.

@lucacasonato lucacasonato added ext/kv Related to "Deno.openKv()" API feat new feature (which has been agreed to/accepted) runtime Relates to code in the runtime crate and removed ext/kv Related to "Deno.openKv()" API labels Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat new feature (which has been agreed to/accepted) runtime Relates to code in the runtime crate
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants