Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MiniflareCoreError [ERR_RUNTIME_FAILURE]: The Workers runtime failed to start. #126

Closed
PBemm69 opened this issue Oct 30, 2024 · 4 comments
Closed

Comments

@PBemm69
Copy link

PBemm69 commented Oct 30, 2024

Describe the bug

bolt@ dev C:\App-Bolt\bolt.new-any-llm-main
remix vite:dev

*** Received structured exception #0xc0000005: access violation; stack: 7ffe5fbe2c0f 7ff67eea337b 7ff67eea3443 7ff67ee974bc 7ff67ee97467 7ff67e717d5e 7ff67e71806f 7ff67d601706 7ff67d6014ea 7ff67e88f97f 7ff67e896b36 7ff67e88fe9c 7ff67e896b36 7ff67e88d80c 7ff67d5f1551 7ff67ff78bff 7ffe85b77373 7ffe86adcc90
MiniflareCoreError [ERR_RUNTIME_FAILURE]: The Workers runtime failed to start. There is likely additional logging output above.
at #assembleAndUpdateConfig (C:\App-Bolt\bolt.new-any-llm-main\node_modules.pnpm\[email protected]\node_modules\miniflare\dist\src\index.js:9178:13)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Mutex.runWith (C:\App-Bolt\bolt.new-any-llm-main\node_modules.pnpm\[email protected]\node_modules\miniflare\dist\src\index.js:3521:16)
at async #waitForReady (C:\App-Bolt\bolt.new-any-llm-main\node_modules.pnpm\[email protected]\node_modules\miniflare\dist\src\index.js:9235:5)
at async Miniflare2.getProxyClient (C:\App-Bolt\bolt.new-any-llm-main\node_modules.pnpm\[email protected]\node_modules\miniflare\dist\src\index.js:9359:5)
at async Miniflare2.getBindings (C:\App-Bolt\bolt.new-any-llm-main\node_modules.pnpm\[email protected]\node_modules\miniflare\dist\src\index.js:9378:25)
at async getPlatformProxy (C:\App-Bolt\bolt.new-any-llm-main\node_modules.pnpm\[email protected]
@cloudflare[email protected]\node_modules\wrangler\wrangler-dist\cli.js:210522:20)
at async configureServer (C:\App-Bolt\bolt.new-any-llm-main\node_modules.pnpm@remix-run+dev@2.10.0_@remix-run[email protected][email protected]_react@[email protected]_typ_qwyxqdhnwp3srgtibfrlais3ge\node_modules@remix-run\dev\dist\vite\cloudflare-proxy-plugin.js:55:11)
at async createServer (file:///C:/App-Bolt/bolt.new-any-llm-main/node_modules/.pnpm/vite@5.3.1@types[email protected][email protected]/node_modules/vite/dist/node/chunks/dep-BcXSligG.js:63299:20)
at async configResolved (C:\App-Bolt\bolt.new-any-llm-main\node_modules.pnpm@remix-run+dev@2.10.0_@remix-run[email protected][email protected]_react@[email protected]_typ_qwyxqdhnwp3srgtibfrlais3ge\node_modules@remix-run\dev\dist\vite\plugin.js:750:27)
at async Promise.all (index 3)
at async resolveConfig (file:///C:/App-Bolt/bolt.new-any-llm-main/node_modules/.pnpm/vite@5.3.1_@types[email protected][email protected]/node_modules/vite/dist/node/chunks/dep-BcXSligG.js:66626:3)
at async createServer (file:///C:/App-Bolt/bolt.new-any-llm-main/node_modules/.pnpm/vite@5.3.1@types[email protected][email protected]/node_modules/vite/dist/node/chunks/dep-BcXSligG.js:62977:18)
at async dev (C:\App-Bolt\bolt.new-any-llm-main\node_modules.pnpm@remix-run+dev@2.10.0_@remix-run[email protected][email protected]_react@[email protected]_typ_qwyxqdhnwp3srgtibfrlais3ge\node_modules@remix-run\dev\dist\vite\dev.js:39:16)
at async Object.viteDev (C:\App-Bolt\bolt.new-any-llm-main\node_modules.pnpm@remix-run+dev@2.10.0_@remix-run[email protected][email protected]_react@[email protected]_typ_qwyxqdhnwp3srgtibfrlais3ge\node_modules@remix-run\dev\dist\cli\commands.js:220:3)
at async Object.run (C:\App-Bolt\bolt.new-any-llm-main\node_modules.pnpm@remix-run+dev@2.10.0_@remix-run[email protected][email protected]_react@[email protected]_typ_qwyxqdhnwp3srgtibfrlais3ge\node_modules@remix-run\dev\dist\cli\run.js:271:7) {
code: 'ERR_RUNTIME_FAILURE',
cause: undefined
}
 ELIFECYCLE  Command failed with exit code 1.

Link to the Bolt URL that caused the error

N/A

Steps to reproduce

when I run pnpm run dev, I get this error.

Expected behavior

I want to get the local host and start the development but it does not happen

Screen Recording / Screenshot

No response

Platform

OS Name Microsoft Windows 10 Pro
Version 10.0.19045 Build 19045

Additional context

No response

@So3093
Copy link

So3093 commented Oct 31, 2024

actually i have the same issue if some can help thanks

@joostvagevuur-bm
Copy link

Check you have the latest version of Visual Studio C++ installed (14.40.33816)

I'm not sure if it's the same for Windows 11 but the steps to check the version on Windows 10 are:

  1. Settings > Apps > Apps & features
  2. Click on Microsoft Visual Studio C++ 2015-2022 to check the version.

If not, download/install the latest version here and restart your computer: https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170

Got this from the following thread: #19

This did the job for me!

Credits to @yffaffy, as I was completely stuck

@PBemm69
Copy link
Author

PBemm69 commented Oct 31, 2024

Thank you so much. I will try this and get back to you.

@PBemm69
Copy link
Author

PBemm69 commented Nov 3, 2024

Thank you @aryan2702p for the assistance. The problem was with Visual C++. Installed it and now it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants