got `errno: -32` when `wrangler dev`

I'm using $ wrangler init to init a project, change the code of worker.ts, and run with wrangler dev, OS: Ubuntu 20.04 Node.js v18.16.0 Got error:
$ wrangler dev
...
[mf:wrn] The latest compatibility date supported by the installed Cloudflare Workers Runtime is "2023-05-18",
but you've requested "2023-06-30". Falling back to "2023-05-18"...
...
│ [b] open a browser, [d] open Devtools, [l] turn off local mode, [c] clear console, [x] to exit │
...
/home/ubuntu/.nvm/versions/node/v18.16.0/lib/node_modules/wrangler/wrangler-dist/cli.js:30632
throw a;
^

Error: write EPIPE
at afterWriteDispatched (node:internal/stream_base_commons:160:15)
at writeGeneric (node:internal/stream_base_commons:151:3)
at Socket._writeGeneric (node:net:930:11)
at Socket._write (node:net:942:8)
at writeOrBuffer (node:internal/streams/writable:392:12)
at _write (node:internal/streams/writable:333:10)
at Writable.write (node:internal/streams/writable:337:10)
at Runtime.updateConfig (/home/ubuntu/.nvm/versions/node/v18.16.0/lib/node_modules/wrangler/node_modules/miniflare/dist/src/index.js:5125:26)
at async #assembleAndUpdateConfig (/home/ubuntu/.nvm/versions/node/v18.16.0/lib/node_modules/wrangler/node_modules/miniflare/dist/src/index.js:9140:23)
at async #init (/home/ubuntu/.nvm/versions/node/v18.16.0/lib/node_modules/wrangler/node_modules/miniflare/dist/src/index.js:8902:5)
Emitted 'error' event on Socket instance at:
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -32,
code: 'EPIPE',
syscall: 'write'
}

Node.js v18.16.0
$ wrangler dev
...
[mf:wrn] The latest compatibility date supported by the installed Cloudflare Workers Runtime is "2023-05-18",
but you've requested "2023-06-30". Falling back to "2023-05-18"...
...
│ [b] open a browser, [d] open Devtools, [l] turn off local mode, [c] clear console, [x] to exit │
...
/home/ubuntu/.nvm/versions/node/v18.16.0/lib/node_modules/wrangler/wrangler-dist/cli.js:30632
throw a;
^

Error: write EPIPE
at afterWriteDispatched (node:internal/stream_base_commons:160:15)
at writeGeneric (node:internal/stream_base_commons:151:3)
at Socket._writeGeneric (node:net:930:11)
at Socket._write (node:net:942:8)
at writeOrBuffer (node:internal/streams/writable:392:12)
at _write (node:internal/streams/writable:333:10)
at Writable.write (node:internal/streams/writable:337:10)
at Runtime.updateConfig (/home/ubuntu/.nvm/versions/node/v18.16.0/lib/node_modules/wrangler/node_modules/miniflare/dist/src/index.js:5125:26)
at async #assembleAndUpdateConfig (/home/ubuntu/.nvm/versions/node/v18.16.0/lib/node_modules/wrangler/node_modules/miniflare/dist/src/index.js:9140:23)
at async #init (/home/ubuntu/.nvm/versions/node/v18.16.0/lib/node_modules/wrangler/node_modules/miniflare/dist/src/index.js:8902:5)
Emitted 'error' event on Socket instance at:
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -32,
code: 'EPIPE',
syscall: 'write'
}

Node.js v18.16.0
1 Reply
Want results from more Discord servers?
Add your server