✘ [ERROR] Error on remote worker: TypeError: fetch failed

While running wrangler dev with the flag --remote I'm getting this error:
[wrangler:inf] Ready on http://localhost:8787
Total Upload: 1037.42 KiB / gzip: 193.37 KiB
✘ [ERROR] Error on remote worker: TypeError: fetch failed

at fetch
(/<dir>/node_modules/wrangler/wrangler-dist/cli.js:17033:19)
at async performApiFetch
(/<dir>/node_modules/wrangler/wrangler-dist/cli.js:121199:10)
at async fetchInternal
(/<dir>/node_modules/wrangler/wrangler-dist/cli.js:121209:20)
at async fetchResult
(/<dir>/node_modules/wrangler/wrangler-dist/cli.js:121363:16)
at async createPreviewToken
(/<dir>/node_modules/wrangler/wrangler-dist/cli.js:169820:29)
at async createWorkerPreview
(/<dir>/node_modules/wrangler/wrangler-dist/cli.js:169841:17)
at async start
(/<dir>/node_modules/wrangler/wrangler-dist/cli.js:170428:34)
{
cause: Error: write EPIPE
at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:94:16)
at handleWriteReq (node:internal/stream_base_commons:51:26)
at writeGeneric (node:internal/stream_base_commons:149:15)
at Socket._writeGeneric (node:net:962:11)
at Socket._write (node:net:974:8)
at doWrite (node:internal/streams/writable:411:12)
at clearBuffer (node:internal/streams/writable:572:7)
at Writable.uncork (node:internal/streams/writable:351:7)
at AsyncWriter.write
(/<dir>/node_modules/wrangler/wrangler-dist/cli.js:8071:16)
at writeIterable
(/<dir>/node_modules/wrangler/wrangler-dist/cli.js:8009:23)
{
errno: -32,
code: 'EPIPE',
syscall: 'write'
}
}
[wrangler:inf] Ready on http://localhost:8787
Total Upload: 1037.42 KiB / gzip: 193.37 KiB
✘ [ERROR] Error on remote worker: TypeError: fetch failed

at fetch
(/<dir>/node_modules/wrangler/wrangler-dist/cli.js:17033:19)
at async performApiFetch
(/<dir>/node_modules/wrangler/wrangler-dist/cli.js:121199:10)
at async fetchInternal
(/<dir>/node_modules/wrangler/wrangler-dist/cli.js:121209:20)
at async fetchResult
(/<dir>/node_modules/wrangler/wrangler-dist/cli.js:121363:16)
at async createPreviewToken
(/<dir>/node_modules/wrangler/wrangler-dist/cli.js:169820:29)
at async createWorkerPreview
(/<dir>/node_modules/wrangler/wrangler-dist/cli.js:169841:17)
at async start
(/<dir>/node_modules/wrangler/wrangler-dist/cli.js:170428:34)
{
cause: Error: write EPIPE
at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:94:16)
at handleWriteReq (node:internal/stream_base_commons:51:26)
at writeGeneric (node:internal/stream_base_commons:149:15)
at Socket._writeGeneric (node:net:962:11)
at Socket._write (node:net:974:8)
at doWrite (node:internal/streams/writable:411:12)
at clearBuffer (node:internal/streams/writable:572:7)
at Writable.uncork (node:internal/streams/writable:351:7)
at AsyncWriter.write
(/<dir>/node_modules/wrangler/wrangler-dist/cli.js:8071:16)
at writeIterable
(/<dir>/node_modules/wrangler/wrangler-dist/cli.js:8009:23)
{
errno: -32,
code: 'EPIPE',
syscall: 'write'
}
}
Running the same on linux everything fine. This is Apple M2 Pro with macOS 14.4.1 (23E224)
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server