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
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](https://cdn.answeroverflow.com/1227974124354404362/Screenshot_2024-04-11_at_10.28.48.png)
![No description](https://cdn.answeroverflow.com/1227974124639621220/Screenshot_2024-04-11_at_10.29.15.png)
![No description](https://cdn.answeroverflow.com/1227974124891017316/Screenshot_2024-04-11_at_10.30.15.png)
And this is with
wrangler pages dev
, right?actually it's
remix vite:dev
should i give it a try with wrangler pages dev
directly?
actually
i just testedOk then yeah. It is expected that in local dev you aren't able to access objects in your deployed bucket
I'm getting it. Is this supposed to be the value?
Local Dev -> Local Bucket
![No description](https://cdn.answeroverflow.com/1227975004189229210/Screenshot_2024-04-11_at_10.34.10.png)
how do I say to Cloudflare
"hey please, save this R2 Object locally, as I'm developing" ??
Download the object, then run
wrangler r2 object put <name> --local
excellent
thanks a lot Hardly!
love CF