CF KV functions not working with wrangler dev

Hi, can someone please explain why using
npx wrangler dev
KV functions like getWithMetadata are not working? I added env namespaces using .dev.vars file. Do I need to specify custom bundles to include node modules in the wrangler dev and if so are there any docs for it?
image.png
image.png
Was this page helpful?