Running bolt.diy on MacOS

Hi,
I just cloned the repository on my Mac (Sequoia 15.1) and went through all the installation (or running) steps.
When I try to run it (pnpm run dev) I got an error:

Error: package.json not found

Added some debug code, and it showed that package.json is in vite:dev subdirectory:

Error: package.json not found at:.../ bolt.diy/bolt.diy/vite:dev/package.json at PackageJson.load 

I reinstalled modules, pulled origin, started from the beginning, nothing helped.
Any ideas on how to push it forward?

Arek

Hi,

are you in the correct folder where you run npm run dev?
When cloning the git, you need then cd bolt.diy and run it there

Please post some screenshots. Easier to identify problems.

Yep, I am in bolt.diy folder. Screenshot attached.

1 Like

Thanks,
can you please check your nodejs and npm version?

node v23.5.0
npm 10.9.2

thanks, I did not test version 23.x, but I know its running with 22.x

if you dont mind, can test with this please. Otherwise I need to test it out later with 23 and see if it is working for me.

node 22.13.0, the same error :confused:

I have it up and running. After downgrading the node and starting from the clean repo clone, it worked.
Thanks!
I will be active and post the next issues when they come :wink:

1 Like

Nice, then I think there is a problem with the newest NodeJS Version.

FYI @thecodacus

2 Likes

FYI - Just published a video for macOS installation now, as there were more topics / qustions / problems on it. Hope it helps some others, finding this post :slight_smile:

1 Like

might needs to add that to readme

1 Like