bojji
bojji
CDCloudflare Developers
Created by bojji on 1/24/2024 in #workers-help
Unable to start workers in localserver.
I am just following through the quick start guide of creating a worker. - Created the project with
npm create cloudflare@latest
npm create cloudflare@latest
- And trying to start the local server with
npx wrangler dev
npx wrangler dev
And getting this error
PS E:\TelegramBot\UsingCloudflareWorker\draculauser-bot> npx wrangler dev
⛅️ wrangler 3.24.0
-------------------
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ [b] open a browser, [d] open Devtools, [l] turn off local mode, [c] clear console, [x] to exit │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
E:\TelegramBot\UsingCloudflareWorker\draculauser-bot\node_modules\wrangler\wrangler-dist\cli.js:29572
throw a;
^

Error: write EOF
at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:94:16) {
errno: -4095,
code: 'EOF',
syscall: 'write'
}

Node.js v21.6.0
PS E:\TelegramBot\UsingCloudflareWorker\draculauser-bot> npx wrangler dev
⛅️ wrangler 3.24.0
-------------------
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ [b] open a browser, [d] open Devtools, [l] turn off local mode, [c] clear console, [x] to exit │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
E:\TelegramBot\UsingCloudflareWorker\draculauser-bot\node_modules\wrangler\wrangler-dist\cli.js:29572
throw a;
^

Error: write EOF
at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:94:16) {
errno: -4095,
code: 'EOF',
syscall: 'write'
}

Node.js v21.6.0
Please help me with this I am new to cloudflare and it's workers.
2 replies