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?
3 Replies
Adam
Adam13mo ago
Could you retest this with the latest Wrangler release (3.22.1)?
incognitojam
incognitojam12mo ago
I get the same error on 3.22.3. It happens in a GitHub Actions environment (node 18?) but not when running locally (node 20) If I pin the version to 3.17.1 it works correctly (I haven't tried the versions between)
incognitojam
incognitojam12mo ago
It seems as though it's only in node 18
No description
Want results from more Discord servers?
Add your server