Just to confirm, are you saying that the

Just to confirm, are you saying that the binding doesn't exist, or that it isn't returning an object?
10 Replies
niconiahi
niconiahi10mo ago
continuing in a 🧵 I'm expecting it to have value but when I log it, it's null let me share key images the sound variable, I expect it to have value, but it doesn't
No description
No description
No description
Hello, I’m Allie!
Hello, I’m Allie!OP10mo ago
And this is with wrangler pages dev, right?
niconiahi
niconiahi10mo ago
actually it's remix vite:dev should i give it a try with wrangler pages dev directly? actually i just tested
Hello, I’m Allie!
Hello, I’m Allie!OP10mo ago
Ok then yeah. It is expected that in local dev you aren't able to access objects in your deployed bucket
niconiahi
niconiahi10mo ago
I'm getting it. Is this supposed to be the value?
Hello, I’m Allie!
Hello, I’m Allie!OP10mo ago
Local Dev -> Local Bucket
niconiahi
niconiahi10mo ago
No description
niconiahi
niconiahi10mo ago
how do I say to Cloudflare "hey please, save this R2 Object locally, as I'm developing" ??
Hello, I’m Allie!
Hello, I’m Allie!OP10mo ago
Download the object, then run wrangler r2 object put <name> --local
niconiahi
niconiahi10mo ago
excellent thanks a lot Hardly! love CF

Did you find this page helpful?