Installation bolt.diy

C:\Users\admin>git clone https://github.com/stackblitz-labs/bolt.diy.git
fatal: destination path 'bolt.diy' already exists and is not an empty directory.

C:\Users\admin>cd bolt.diy

C:\Users\admin\bolt.diy>git checkout main


M       package.json
M       pnpm-lock.yaml
Already on 'main'
Your branch is up to date with 'origin/main'.

C:\Users\admin\bolt.diy>pnpm install
Lockfile is up to date, resolution step is skipped
Already up to date

> bolt@0.0.5 prepare C:\Users\admin\bolt.diy
> husky

Done in 1.3s

C:\Users\admin\bolt.diy>pnpm run dev

> bolt@0.0.5 dev C:\Users\admin\bolt.diy
> node pre-start.cjs  && remix vite:dev


β˜…β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β˜…
          B O L T . D I Y
         ⚑️  Welcome  ⚑️
β˜…β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β˜…

πŸ“ Current Version Tag: v"0.0.5"
πŸ“ Current Commit Version: "f2546f1"
  Please wait until the URL appears here
β˜…β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β˜…
 warn  Data fetching is changing to a single fetch in React Router v7
┃ You can use the `v3_singleFetch` future flag to opt-in early.
┃ -> https://remix.run/docs/en/2.13.1/start/future-flags#v3_singleFetch
β”—
*** Received structured exception #0xc0000005: access violation; stack: 7ff9401b2f57 7ff7dda84c9a 7ff7dda84d63 7ff7dda266ec 7ff7dda26697 7ff7dd26a16e 7ff7dd26a47f 7ff7dc071ea6 7ff7dd394bff 7ff7dd39be26 7ff7dd395103 7ff7dd39be26 7ff7dd392a9c 7ff7dc061e66 7ff7debf5d5f 7ff962957373 7ff962a9cc90
MiniflareCoreError [ERR_RUNTIME_FAILURE]: The Workers runtime failed to start. There is likely additional logging output above.
    at Miniflare2.#assembleAndUpdateConfig (C:\Users\admin\bolt.diy\node_modules\.pnpm\miniflare@3.20241218.0\node_modules\miniflare\src\index.ts:1404:10)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at Mutex.runWith (C:\Users\admin\bolt.diy\node_modules\.pnpm\miniflare@3.20241218.0\node_modules\miniflare\src\workers\shared\sync.ts:66:45)
    at Miniflare2.#waitForReady (C:\Users\admin\bolt.diy\node_modules\.pnpm\miniflare@3.20241218.0\node_modules\miniflare\src\index.ts:1486:3)
    at Miniflare2._getProxyClient (C:\Users\admin\bolt.diy\node_modules\.pnpm\miniflare@3.20241218.0\node_modules\miniflare\src\index.ts:1692:3)
    at Miniflare2.getBindings (C:\Users\admin\bolt.diy\node_modules\.pnpm\miniflare@3.20241218.0\node_modules\miniflare\src\index.ts:1715:23)
    at getPlatformProxy (C:\Users\admin\bolt.diy\node_modules\.pnpm\wrangler@3.99.0_@cloudflare+workers-types@4.20241230.0\node_modules\wrangler\wrangler-dist\cli.js:180408:20)
    at configureServer (C:\Users\admin\bolt.diy\node_modules\.pnpm\@remix-run+dev@2.15.2_@remix-run+react@2.15.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_typ_londrmh2xfyw6hif7p3tfp52za\node_modules\@remix-run\dev\dist\vite\cloudflare-proxy-plugin.js:55:11)
    at _createServer (file:///C:/Users/admin/bolt.diy/node_modules/.pnpm/vite@5.4.11_@types+node@22.10.5_sass-embedded@1.83.1/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:63080:20)
    at configResolved (C:\Users\admin\bolt.diy\node_modules\.pnpm\@remix-run+dev@2.15.2_@remix-run+react@2.15.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_typ_londrmh2xfyw6hif7p3tfp52za\node_modules\@remix-run\dev\dist\vite\plugin.js:768:27)
    at async Promise.all (index 3)
    at resolveConfig (file:///C:/Users/admin/bolt.diy/node_modules/.pnpm/vite@5.4.11_@types+node@22.10.5_sass-embedded@1.83.1/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:66404:3)
    at _createServer (file:///C:/Users/admin/bolt.diy/node_modules/.pnpm/vite@5.4.11_@types+node@22.10.5_sass-embedded@1.83.1/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:62758:18)
    at dev (C:\Users\admin\bolt.diy\node_modules\.pnpm\@remix-run+dev@2.15.2_@remix-run+react@2.15.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_typ_londrmh2xfyw6hif7p3tfp52za\node_modules\@remix-run\dev\dist\vite\dev.js:39:16)
    at Object.viteDev (C:\Users\admin\bolt.diy\node_modules\.pnpm\@remix-run+dev@2.15.2_@remix-run+react@2.15.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_typ_londrmh2xfyw6hif7p3tfp52za\node_modules\@remix-run\dev\dist\cli\commands.js:221:3)
    at Object.run (C:\Users\admin\bolt.diy\node_modules\.pnpm\@remix-run+dev@2.15.2_@remix-run+react@2.15.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_typ_londrmh2xfyw6hif7p3tfp52za\node_modules\@remix-run\dev\dist\cli\run.js:271:7) {
  code: 'ERR_RUNTIME_FAILURE',
  cause: undefined
}
 ELIFECYCLE  Command failed with exit code 1.

how to fix this? kindly help.

Welcome @hawthorne261989,
take a look at my installation video.

I guess you missed installing the MS Redis C++ pack.

thankyou so much leex279.

1 Like

if i close it, should i start again from the beginning in?

what do you mean with close it?
You should install the MS Redis pack and restart bolt.diy (cancel process and do pnpm run dev again)

i close the cmd. what are the steps again to run the bolt.diy again?

  1. Open cmd in the bolt.diy folder
  2. run pnpm run dev

thanks a lot, whats your youtube channel leex279?

1 Like

Most of this is not an error, it’s just warning that you already tried to clone Bolt.diy once. The problem is the quoted line above, this is a known Windows 11 issue, and you need to install the Latest Visual C++ Redistributable.

And then I would just suggest deleting the Bolt.diy folder and doing a clean go by doing the following:
git clone https://github.com/stackblitz-labs/bolt.diy.git
cd bolt.diy
npm install -g pnpm
pnpm install
pnpm run dev

Or assuming everything is fine other than the Visual C++ component, just run the following from the Bolt.diy folder:
pnpm run dev

Hope that helps!