Cannot test locally after wrangler 3.17 - get ECONNREFUSED

Using https://github.com/jahands/do-demo I am able to get tests passing up to Wrangler 3.17. Starting with 3.18 (to 3.20) I get this error when running unstable_dev(...) before the beforeAll() is finished executing. This is the same for my own projects.

TypeError: fetch failed
❯ fetch node_modules/wrangler/wrangler-dist/cli.js:16838:17
❯ processTicksAndRejections node:internal/process/task_queues:95:5
❯ Object.fetch node_modules/wrangler/wrangler-dist/cli.js:151422:16

Caused by: Error: connect ECONNREFUSED ::1:52557
❯ connect ECONNREFUSED ::1:52557
❯ TCPConnectWrap.afterConnect [as oncomplete] node:net:1495:16


Where/how should I report this?
Was this page helpful?