Error during "pnpm run dev" step

@DIYSmartCode Per your suggestion, I’m moving our discussion here regarding the errors I’m getting during the install process. I’m able to complete all the steps until I get to the “pnpm run dev”. At that point, I get the following error:

> bolt@0.0.7 dev /Users/jeanclaude/bolt.diy
> node pre-start.cjs  && remix vite:dev


★═══════════════════════════════════════★
          B O L T . D I Y
         ⚡️  Welcome  ⚡️
★═══════════════════════════════════════★

📍 Current Version Tag: v"0.0.7"
📍 Current Commit Version: "7045646"
  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
┗
dyld: malformed mach-o image: dyld chained fixups info underruns __LINKEDIT
Error: write EPIPE
    at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:87:19)
    at WriteWrap.callbackTrampoline (node:internal/async_hooks:130:17) {
  errno: -32,
  code: 'EPIPE',
  syscall: 'write'
}
 ELIFECYCLE  Command failed with exit code 1.
1 Like

Hi, thanks for bringing this over here. Thats better then in comments :slight_smile:

Can you please share the whole terminal output, as I not see what you actually executed (commands).

Do also these commands please to let us see what versions you running:

node --version
npm --version

Hint for others: He is trying to install on a Mac with the latest stable release and gets these errors. We startet the conversion in the comments of my mac tutorial on youtube.

MacBook-Air-2:bolt.diy jeanclaude$ node --version

v22.14.0

MacBook-Air-2:bolt.diy jeanclaude$ npm --version

10.9.2

MacBook-Air-2:bolt.diy jeanclaude$

@leex279 this system is not letting me paste in the full terminal output.

@calegarijc the versions look good.

just do a few screenshot then if the terminal output is too much. you can paste multiple screenshots.


thanks for uploading :smiley:

Not sure what the problem is, but we can try 2 things for now.

1. Try this command instead of just pnpm run dev

arch -arm64 pnpm run dev

2. use npm instead pnpm (new terminal, new folder)

git clone https://github.com/stackblitz-labs/bolt.diy.git
cd bolt.diy
npm install
npm run dev

Thanks for the suggestions. Unfortunately, “arch -arm64 pnpm run dev” did not work.

And for option 2, I get the following error after “npm install”

  1. => ok
  2. => I just see warning so far. Try to just run npm run dev now

OK. This is the error I get

Ok, too bad.

You could try uninstalling nodejs and reinstalling another version of it. I just googled and it told me that this maybe can be a problem on a mac. Try using Version 20.x

Other than that I dont know at the moment, but maybe @thecodacus @aliasfox have other ideas whats going wrong.

If docker is an option for you, you could try it, as this should normally work.

OK. Thanks again for taking the time on this. I’ll let you know if I have success.

1 Like