How to use Deno KV when deploying Next.js to Deno Deploy?
I do not see a straightforward way to use Deno KV inside a Next.js project deployed to Deno Deploy:
-
Deno.openKv()
won't work -> Deno is not found.
- import { openKv } from "@deno/kv"
+ await openKv("URL")
won't work either -> The Next.js app just won't build with this dependency.
Am I missing something?1 Reply
PS: Thanks in advance!
I assume it is not possible to use any Deno APIs on Deno Deploy from a Next.js project. That's a bummer :/