Bun stuck on pending when using 'hub' config
Describe the bug When using Bun as runtime, 'bun --bun run dev' makes the app stuck on pending fetching the page
Steps to reproduce Steps to reproduce the behavior:
- Initialize using minimal template 'bunx nuxi init my-nuxt-app'
- Install NuxtHub module 'bunx nuxi@latest module add hub'
- Add 'hub' config with any key-value pair 'hub: { database: true, blob: true }'
- Dev server will be stuck on loading, checking network tab on devtools will reveal it stuck on pending while fetching the page.
Expected behavior Dev server will run using 'hub' config on Bun.
Screenshot
Version Bun: 1.2.6 Nuxt: 3.16.1 @nuxthub/core: 0.8.22
Did you have any warning in the terminal?
Make sure to install wrangler as dev dependency:
bun add --dev wrangler
No warning in terminal, and wrangler is already installed as dev dependency, the version is 4.6.0
Could you try with node instead of bun?
Yes, it worked using Node.
We need to investigate but I anyway recommend node as runtime
Okay, for the mean time i'll use Node for the runtime