I could use some help installing

You run sudo su first, then the other command.

It makes you root (admin) within the terminal.

image

as you see here the user changed to root, then you can run all commands as root.

yes delete your bolt.diy folder first. then do the steps

1 Like

Same thing. Command failed…didn’t work.

Ok, too bad. I hope @wonderwhy.er can help, maybe also @thecodacus as I dont have more ideas what to do. Also ChatGPT does not provide more tips :smiley:

There must be something wrong on your OS.

try the faq section of docs and see the Miniflare or Wrangler errors in Windows
might work for you

@thecodacus it´s a mac so basically linux. there is no MS Redis C++ as far as I know :smiley:

ahh yes. sorry i missed that

i think easiest option is to run in docker
using a prebuilt docker image Package bolt.diy · GitHub

after installing docker
use this command docker run -p 5173:5173 ghcr.io/stackblitz-labs/bolt.diy

So, after hours of trying to install/setup Bolt.diy yesterday, I’m still unsure what’s up.
Are Mac computers supported?
Today I move to my wife Macbook Pro, and trying to start over from the beginning, but now I can’t even run the “npm install -g pnpm”.

Hey @getkwikr247,

as you seen in my install video, yes, its supportet. Mac is basically just linux.

In your screenshot I see, you again forgot the sudo in front of your command.
I just can recommend following the steps in the video and the provided task-list from me to install. this should work.

Okay.
We now have this after installing and trying to run the final command for dev.


No local URL similar to yesterday.

I am sorry to say again, but you done again the wrong command
its not npm its PNPM

pnpm install && pnpm run dev

If you done it wrong once, you have to delete the node_modules folder before trying again.

As I said, make sure you use the exact same commands as listet in the tasklist/docs/myvideo :wink:

Okay. We’ll try one more time, if not, we’ll probably be better on just paying Bolt.new. It shouldn’t be this diffcult. Your video is almost 20min, which I spent hours going through yesterday and it still didn’t work.
We will also be trying this one (which launched the app in almost 5mins and theirs were working as expected:

I will ask Eric and the guys at the next Office Hours if there can be better way.
For now, I’ll try starting over again for the 10th time.

Hopefully it works then for you.

I know this can be frustrating but I also have to say that you not stick to the commands and things which were shown and are in the docs as we seen above. You just use differnt commands and expect still that it works.
Thats not how it goes and I am pretty sure this does also not work for your tools in UI/UX like figma etc.

I am really sorry you dont get it to run and I think I tried my best to help out here.

Anyway I agree that it should be easier to install, but this is an open-source project, implemented by people in their free time and not a commercial product where you can expect it 100% to run and you pay for it.
Also this project is in a very early version. not even version 1. so it should be pretty clear, that this is not a ready to use product with thousend of working features.
I know the team tries it´s best to meet the demands and come forward.

If you want to contribute => feel free to join the git and help to improve the project (doesnt matter if UI/UX enhancements/help, Improving docs, …).

Let me know if you got it work with the other guys video. I will then recheck my steps in the video and I will also let verify a collegue of mine with a mac, if he gets the same problems.

1 Like

So, here is the latest results from your suggestions.


I will try the video from the other guy next.

So. His installation instructions took 5mins and I got it working/running.

2 Likes

Thanks for reporting and very interressting although he not respected the commands referenced in the docs, what seems to work better on the mac.

@thecodacus any idea why it works here with npm instead of pnpm and we got a lot topics where its definetly not working with npm to install and makes problems.

@getkwikr247 Can you provide some more infos about your system please. What OS Version is it running exactly?
Also was there a step that was different from mine before other then the NPM stuff?

Yeah. true.
No worries, as I mentioned in the beginning, I didn’t mind being a tester. :slight_smile:
Image of “current Mac” version attached.

I will follow up on the other older mac from yesterday - Version 11 running Big Sur.

Thanks, ok, I´m still curiouse what the problem now was, cause you did the NPM also before, so nothing other then the guy showed in his video.

I dont understand whats going up :smiley:

Not sure. I just followed “exactly” what he did.

Can you explain what the issue was? I saw in the video you provided that even the guy used npm install instead of pnpm install. The only difference in Windows is that you don’t use the sudo line to elevate privileges. These are the steps on Linux/Mac (in this order):

sudo su (put in credentials to change to root)
git clone -b stable https://github.com/stackblitz-labs/bolt.diy
cd bolt.diy
npm install -g pnpm
pnpm install
pnpm run dev

These are the steps you should be following, if you do npm install at any point, you will break Bolt.diy and therefore have to delete the node_packages folder and do it correctly again. Many people seem to repeatedly make this mistake. And the order of operations matter.

First time I’ve heard of the miniflare issue on anything other than Windows though. Strange. Do you have Visual Studio for Mac installed or something?