Skip to content

Unable to start the wrangler server #19

@arpittyagi102

Description

@arpittyagi102
PS D:\others> node -v
v20.14.0
PS D:\others> npm -v
10.7.0
PS D:\others> wrangler -v

 ⛅️ wrangler 3.63.1
-------------------

PS D:\others> git clone https://github.com/cloudflare/durable-objects-template
Cloning into 'durable-objects-template'...
remote: Enumerating objects: 75, done.
remote: Counting objects: 100% (24/24), done.
remote: Compressing objects: 100% (8/8), done.
Receiving objects:  56% (42/75)
Receiving objects: 100% (75/75), 21.52 KiB | 5.38 MiB/s, done.
Resolving deltas: 100% (32/32), done.
PS D:\others> cd durable-objects-template
PS D:\others\durable-objects-template> npm install

up to date, audited 1 package in 819ms

found 0 vulnerabilities
PS D:\others\durable-objects-template> wrangler dev

 ⛅️ wrangler 3.63.1
-------------------

Your worker has access to the following bindings:
- Durable Objects:
  - COUNTER: Counter
⎔ Starting local server...
╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ [b] open a browser, [d] open Devtools, [l] turn off local mode, [c] clear console, [x] to exit
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
C:\Users\user\AppData\Roaming\npm\node_modules\wrangler\wrangler-dist\cli.js:29765
            throw a;
            ^

MiniflareCoreError [ERR_RUNTIME_FAILURE]: The Workers runtime failed to start. There is likely additional logging output above.
    at #assembleAndUpdateConfig (C:\Users\user\AppData\Roaming\npm\node_modules\wrangler\node_modules\miniflare\dist\src\index.js:9178:13)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Mutex.runWith (C:\Users\user\AppData\Roaming\npm\node_modules\wrangler\node_modules\miniflare\dist\src\index.js:3521:16) {
  code: 'ERR_RUNTIME_FAILURE',
  cause: undefined
}

Node.js v20.14.0

Also when i tried creating this template with "create-cloudflare" as well but got the same error there as well

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions