AFAIK `unstable_dev` is local-only, so

AFAIK unstable_dev is local-only, so it might be failing because Hyperdrive doesn't work locally?
5 Replies
Huxwell | Reown
Huxwell | Reown14mo ago
Yeah that might be it, I tried the following but no luck.
await unstable_dev(entry, {
experimental: { disableExperimentalWarning: true },
local: false,
nodeCompat: true
})
await unstable_dev(entry, {
experimental: { disableExperimentalWarning: true },
local: false,
nodeCompat: true
})
Hello, I’m Allie!
Hello, I’m Allie!OP14mo ago
I don't actually know if it works in remote dev either It should™️,
Huxwell | Reown
Huxwell | Reown14mo ago
Yes it does, this is how I run it locally wrangler dev --env staging --remote
Hello, I’m Allie!
Hello, I’m Allie!OP14mo ago
But iirc there are still some things that only work deployed, not in remote dev
Huxwell | Reown
Huxwell | Reown14mo ago
I'm wondering if unstable_dev isn't just ignoring the Hypedrive bindings. I don't see an option like we have for kv etc Damn my tests failing were unrelated to Hyperdrive & unstable_dev. It's all working like a charm. Sorry about that @HardlyHolidayin’ and thanks for your support anyway.
Want results from more Discord servers?
Add your server