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?
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
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
Ok, I am not a Mac user but for other which similar problems, it helped when they used NPM instead of PNPM to install and run.
Make sure you try this with a clean new git clone and not with the existing.
I’m facing the same issue, Kindly help me in this. I installed and followed all the instructions shown in the video for my MacOS. I used the pnpm and npm run dev command to install and run but it didn’t worked.
As far as I see you did not clean up before switching from PNPM to NPM. You need to remove the node_modules folder first or best just clone new from git, so you got a clean state and then start with npm install and npm run dev