Linked issue report: https://github.com/cloudflare/workers-sdk/issues/5360
Using wrangler.getBindingsProxy to read R2 bucket data, the readable stream will be stuck on big sizes (1MB+) if used with concurrency of 2+ promises. The second stream will never end and Node.js process is stuck. This issue does not happens in production.
corepack enablepnpm installpkill -9 node when server or script is stuck.simple.mjs script using node ./src/simple.mjsserver.mjs with node ./src/server.mjsassets/cat1.jpg and assets/cat2.jpg without reloading page (to avoid early stuck)pkill -9 node might be necessary!