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'tAnd 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
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