ELIFECYCLE Command failed with exit code 1

I searched around here but couldn’t find any related posts.
I just downloaded a version to make sure mine is up-to-date using:
git fetch GitHub - stackblitz-labs/bolt.diy: Prompt, run, edit, and deploy full-stack web applications using any LLM you want!
(followed by git checkout stable; git reset --hard origin/stable and git clean -fd)
I then tried to run it in the normal way using: pnpm run dev
I got an error msg. If someone could explain where I went wrong, I’d appreciate it (and will change my “update” notes!)
Here is the error msg:
═══════════════════════════════════════★
B O L T . D I Y
:zap: Welcome :zap:
★═══════════════════════════════════════★

:round_pushpin: Current Version Tag: v"0.0.5"
:round_pushpin: Current Commit Version: “be7a754”
Please wait until the URL appears here
★═══════════════════════════════════════★
node:internal/modules/cjs/loader:1252
throw err;
^

Error: Cannot find module ‘C:\a Boltdiy\node_modules@remix-run\dev\dist\cli.js’
at Function._resolveFilename (node:internal/modules/cjs/loader:1249:15)
at Function._load (node:internal/modules/cjs/loader:1075:27)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:219:24)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:170:5)
at node:internal/main/run_main_module:36:49 {
code: ‘MODULE_NOT_FOUND’,
requireStack:
}

Node.js v22.12.0
ELIFECYCLE Command failed with exit code 1.

Hi @Rob,
I dunt see any update command, which would be git pull at first, go get the latest changes. This is version 0.0.6.

Other then that check the videos on my channel. at least the windows install video maybe helps:

Hi @leex279 Apologies for delayed response, and thanks for replying, I now realise I missed a vital step (pnpm install) before trying to run it (I’m new to all this!). I’ve now updated my instructions. Best wishes, Rob

1 Like