How can i develop a worker locally and use a KV?

Hello, im trying to develop my cloudflare worker locally with "wrangler dev --local". But it does not recognize my KV namespaces; so those are undefined. Why do i need to do? Am i missing npm packages? I also tried with env.<Namespace> and process.env.<Namespace> but those dont work either.
1 Reply
Johnny Silverhand
In the meanwhile i fixed it thanks for your attentation :)
Want results from more Discord servers?
Add your server