MiniflareCoreError [ERR_RUNTIME_FAILURE]: The Workers runtime failed to start. There is likely addit

[WARNING] Using Workers AI always accesses your Cloudflare account in order to run AI models, and so will incur usage charges even in local development.


╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮│ [b] open a browser, [d] open Devtools, [l] turn off local mode, [c] clear console, [x] to exit │╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯C:\Users\pc\expense\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\pc\expense\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\pc\expense\node_modules\miniflare\dist\src\index.js:3521:16) {
code: 'ERR_RUNTIME_FAILURE',
cause: undefined
}

Node.js v21.6.2
error: script "dev" exited with code 7

pc@broisnees MINGW64 ~/expense (main)
[WARNING] Using Workers AI always accesses your Cloudflare account in order to run AI models, and so will incur usage charges even in local development.


╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮│ [b] open a browser, [d] open Devtools, [l] turn off local mode, [c] clear console, [x] to exit │╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯C:\Users\pc\expense\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\pc\expense\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\pc\expense\node_modules\miniflare\dist\src\index.js:3521:16) {
code: 'ERR_RUNTIME_FAILURE',
cause: undefined
}

Node.js v21.6.2
error: script "dev" exited with code 7

pc@broisnees MINGW64 ~/expense (main)
I am getting this issue when trying to start wrangler in dev, and other common start
No description
2 Replies
Chaika
Chaika2mo ago
There's been some talk of this issue here: https://github.com/cloudflare/workers-sdk/issues/6170#issuecomment-2245209918 Reportedly saying installing the latest Visual Studio C++ Redistributes (careful what links you follow to download stuff) fix the issue. I can't say for sure as the issue never effected me, but worth trying and/or commenting/reading that thread. You could also try downgrading wrangler to a version before the issue, someone commented 3.57.1
GitHub
🐛 BUG: Received structured exception #0xc0000005: access violation;...
Which Cloudflare product(s) does this pertain to? Miniflare What version(s) of the tool(s) are you using? 3.20240620.0 [Miniflare] What version of Node are you using? 22.3.0 What operating system a...
meooowwwwwww_
meooowwwwwww_2mo ago
ok, i installed it and now working!
Want results from more Discord servers?
Add your server