Can I use wrangler dev
with "offline" local KV namespaces?
#3553
-
The idea is that I don't want to create some KV namespaces in Cloudflare remote servers. I want to work in a local sandbox. When I do
If I try to do The end goal: to create an isolated Docker container with my worker which can be used as a standalone dependency. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
This may probably be related to #2462 but I am not sure |
Beta Was this translation helpful? Give feedback.
-
In local mode ( |
Beta Was this translation helpful? Give feedback.
In local mode (
wrangler dev
in v3,wrangler dev --local
in v2) no remote resources are accessed. You can copy the ID used in your namespace ID to the preview ID field in wrangler.toml, which should work locally.