Odds are you used npm install instead of pnpm install. Delete the node_modules folder in the repository and run:
npm install
pnpm install
node_modules
npm install npm & pnpm install
Then run Bolt.diy using:
pnpm run dev