Wrangler hangs on getPlatformProxy()

This issue only happens on my laptop but not my PC with the same repository. (WSL, latest version of bun, latest version of wrangler). I try to start my Sveltekit app with bun dev and it the app will hang before making a local dev site. I've tried to just run getPlatformProxy() in a test file and I get the same result, the promise will never resolve. Anyone ran into this issue before or know what might be happening? My wrangler config I know is okay because I've been using it for the last few months on my PC. Thanks
3 Replies
ickerio
ickerioOP3w ago
I’ve just tried the exact same thing in Windows with the same result I tried in docker to the same result as well I just tried using Node instead of Bun and it has resolved the issue I don’t know enough about Wrangler to know why it would work with Bun on my other device though. Very strange
Benedikt
Benedikt3w ago
I have the same issue 🙋‍♂️
Benedikt
Benedikt3w ago
I created a reproduction and opened an issue with Bun for this: https://github.com/oven-sh/bun/issues/16240
GitHub
Cloudflare wrangler's getPlatformProxy hangs when run with bun · Is...
What version of Bun is running? 1.1.43-canary.107+005cdb2bf What platform is your computer? Darwin 24.2.0 arm64 arm What steps can reproduce the bug? Cloudflare Wrangler has a getPlatformProxy func...

Did you find this page helpful?