-
Notifications
You must be signed in to change notification settings - Fork 690
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
🐛 BUG: Creating KV with --preview flag can't be used #3621
Comments
Thank you for reporting this, I am going to work on this as well as other commands around products that previously required related internal ticket for same issue with R2: DEVX-773 Cc: @admah |
A workaround may be to add the namespace as both
Can @dinko-pehar confirm ? I had the same problem and adding both Edit: See #3763 (comment) Explains wrangler code can run:
So be aware |
Which Cloudflare product(s) does this pertain to?
KV
What version(s) of the tool(s) are you using?
3.1.1 Wrangler ,
What version of Node are you using?
18.16.1
What operating system are you using?
WSL Ubuntu
Describe the Bug
Hello.
I'm using SvelteKit to bootstrap my app with Cloudflare Pages. I opened issue regarding why
platform
is not available . I wasn't sure how to test locally with bindings, such as KV, R2 etc.Since SvelteKit generated
_worker.js
, I usedwrangler dev path/to/_worker.js
to run it.In my
wrangler.toml
, I have set:When I try to run it like this (KV "HELLO" exists), it states:
But when I create preview KV as suggested and add it to
wrangler.toml
, I get:This is what KV with preview outputs:
Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
No response
The text was updated successfully, but these errors were encountered: