the process changed slightly since I recorded the video, here’s what's different: 01:18 when creating your fork, uncheck the option for 'Copy the main branch only.' 01:23 in your fork, click the 'main' drop-down menu (next to 1 branch, 0 tags) and switch to the 'stable' branch. delete the same files as shown in the video. 02:15 on cloudflare, during the 'set up builds and deployments' step, change the production branch to 'stable.' Continue following the remaining steps from the video. 02:41 also make sure to delete the = sign
Doesn't work. Getting an error at "Building Application": 17:00:58.402 No wrangler.toml file found. Continuing. 17:01:00.307 Failed: an internal error occurred. If this continues, contact support.
@@MS-2-0-0-1 i've never seen this error in my testing, i recommend you post a comment with a screenshot on this threat thinktank.ottomator.ai/t/deploying-bolt-diy-with-cloudflare-pages-the-easy-way/2403/76
thanks brother! there’s a link in the description to a forum where you can report issues and contact the developers of this fork, they’re great at responding and helping out.
i did everything as the pdf says and video but it has failed in the end while in deployment. i has to deleted the forked repo and retry the whole process but still it has failed. i have an error in the deployment building application with a mark highlighting a problem. and the failed in the whole process. maybe does not work anymore. 10 days from now something has been changed maybe in the original repo.
Hi there, it works flawlessly following your step by step tuto. No issue. How to deploy when the app you've built is complete ? What would be the step to use Anthropic claude API instead of openrouter and is it a good idea or is it better to put some $$ on onpenrouter to use the models ? Thanks for feedback. Regards
@@jean-christophepaulau9040 hey mate, for the claude api question you can either charge $5 on openrouter and use it from there (around 0.06 cents per use) or when inputting the API keys, add the Claude orange command and your key. as for deployment, i would recommend you watch a youtube video on how to do it, there’s a few good ones! might be easier for you to follow than if i explain it in the comments. hope it helps!
i’ve found the solution, i recommend deleting your forked repo and cloudflare page (both at the bottom of their settings menu) and following the steps in the pinned comments. hope that helps brother!
Bro, I changed the Compatibility date to Sep 2, 2024, and added the nodejs_compat to Compatibility flags, but my deployment failed, and Diarrhea didn’t start. Any idea what’s going wrong?😊
everything work just fine but when i ask it to put images..sometimes it worked but most of the time it didn't even when i ask it to fix the problem it says the problem fixed but it didn't Also some prompts didn't work and it says this error(there was an error processing your request: An error occurred any help!?
@@beast.vibes1 i’m glad it worked brother, and yeah i have the same issues, i think if we give the team some time and updates it should eventually get fixed
everything is fine just the modelfile.bat is not working showing some error on json 13line , how to get your desktop port number ? also if you have some fix plz reply
I can’t be tho only one with this problem: mine does not create apps it’s create random react files and app and srs folders everywhere and it also has such a hard time running commands.. still Cursor it is for me..
cursor is definitely better to guide your project, i saw in bolt.diy ‘s roadmap that they’re working on optimizing the prompts and other tweaks to catch up
Thanks a lot for the tutorial, it worked! Question: as long as the project deployed to URL, does this mean that my bolt environment is accessible by anyone who has the URL?
@@stanguitars that’s correct, someone posted steps on how to setup authentication in the forum page i’ve linked in the description, but it didn’t work on my end so didn’t include that in the video. let me know if it works for you!
Maybe somebody here knows why. So i have the same kind of project in Bolt.new and Bolt.diy (locally installed thru homebrew), and everytime the results in bolt.diy are way more ugly. Like no design at all, just bare minimum. I am using openrouter and the google flash 2.0 model, so it shouldn't be a huge downgrade from sonnet. Could it be that the local environment doesnt support all programming features? Would it be better on on the cloud like you did?
@@baris3985 hey mate, it would be the same. when looking at bolt.diy’s roadmap, they’re planning on doing prompt optimizations and other improvements so i think bolt.new already has some kind of optimization that makes the results better looking
Once deployed, after a brief flashing, I am getting two scroll bars and to see the app I have to scroll down on the smaller bar. Does this happen to anyone else? The app works fine, but the UI layout is all messed up.
@@techronin7 you're doing amazing! I really need to start using scripts for my videos. Speaking without a script while making the video has made it challenging for me to stay consistent with my posting schedule. However, you're absolutely crushing it! Keep up the great work!
@@DesignwithAsif thanks for the kind words brother! it definitely helps, you can also record yourself brainstorm ideas of what you want to talk about and feed the transcript to an llm to clean it up
i’ve found the solution, i recommend deleting your forked repo and cloudflare page (both at the bottom of their settings menu) and following the steps in the pinned comments. hope that helps brother!
Cursor with o1 or claude is still better in my opinion. Cursur is a fork of VS code so u still have all the features of a real IDE but the power of the best AI Models for coding. I wish they had forked VS Code instead of bolt but it is how it is 😅
@@AshwinSKumar it’s been working for some ppl in the comments when following the pinned comments, but yeah it’s still buggy as it’s a new tool in development
interesting question, i think for that something like cursor might be better as you’ll have more control over the code, bolt.diy rewrites all the code every time so might not be ideal for games
Hey bro, I followed the exact method, and deleted the fork and page, but same issue, the message is "Delete wrangler.toml" but it is deleted. will try one more time
I've followed the complete process but still its not working, locally and by hosting on cloudflare also, could you please give me a solution? here is the error :- Cannot read properties of undefined (reading 'toolCalls') at Object.flush (file:///C:/Users/Admin/Documents/OTTODEV/node_modules/ai/core/generate-text/stream-text.ts:569:33) at invokePromiseCallback (node:internal/webstreams/util:162:10) at Object. (node:internal/webstreams/util:167:23) at transformStreamDefaultSinkCloseAlgorithm (node:internal/webstreams/transformstream:621:43) at node:internal/webstreams/transformstream:379:11 at writableStreamDefaultControllerProcessClose (node:internal/webstreams/writablestream:1162:28) at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1242:5) at writableStreamDefaultControllerClose (node:internal/webstreams/writablestream:1209:3) at writableStreamClose (node:internal/webstreams/writablestream:722:3) at writableStreamDefaultWriterClose (node:internal/webstreams/writablestream:1091:10) at writableStreamDefaultWriterCloseWithErrorPropagation (node:internal/webstreams/writablestream:1083:10) at node:internal/webstreams/readablestream:1558:15 at complete (node:internal/webstreams/readablestream:1437:9) at processTicksAndRejections (node:internal/process/task_queues:105:5 Click outside, press Esc key, or fix the code to dismiss. You can also disable this overlay by setting server.hmr.overlay to false in vite.config.ts.
i’ve found the solution, i recommend deleting your forked repo and cloudflare page (both at the bottom of their settings menu) and following the steps in the pinned comments. hope that helps brother!
Just got it to work finally.. however, it turns out this diy fork does not let the user deploy the work in progress unlike bolt.new. Is there no work-around this? :/
the process changed slightly since I recorded the video, here’s what's different:
01:18 when creating your fork, uncheck the option for 'Copy the main branch only.'
01:23 in your fork, click the 'main' drop-down menu (next to 1 branch, 0 tags) and switch to the 'stable' branch.
delete the same files as shown in the video.
02:15 on cloudflare, during the 'set up builds and deployments' step, change the production branch to 'stable.' Continue following the remaining steps from the video.
02:41 also make sure to delete the = sign
POSTD 38 seconds ago IS CRAZYT
Doesn't work. Getting an error at "Building Application":
17:00:58.402 No wrangler.toml file found. Continuing.
17:01:00.307 Failed: an internal error occurred. If this continues, contact support.
@@MS-2-0-0-1 i've never seen this error in my testing, i recommend you post a comment with a screenshot on this threat thinktank.ottomator.ai/t/deploying-bolt-diy-with-cloudflare-pages-the-easy-way/2403/76
@@techronin7 As the problem is happening on Cloudflare. Can I do it locally while following the guide on the GitHub description?
@@MS-2-0-0-1 you must eliminated "=" when u paste : OPEN_ROUTER_API_KEY without "="
thanks a lot this is so much better and easier than the last one not forgetting the fact that i had issues setting it up
thanks brother! there’s a link in the description to a forum where you can report issues and contact the developers of this fork, they’re great at responding and helping out.
I would love to see more from you about bolt DIY plz . Thanks
i did everything as the pdf says and video but it has failed in the end while in deployment. i has to deleted the forked repo and retry the whole process but still it has failed. i have an error in the deployment building application with a mark highlighting a problem. and the failed in the whole process. maybe does not work anymore. 10 days from now something has been changed maybe in the original repo.
Awesome loved this solution I love thisssss, didn't work when processed like the video but your pined comment saved me and works awesome
glad to hear brother, enjoy!
Finally working bro! My Laptop is not booting like Airplane anymore now
haha great to hear brother! your neighbours will be happy
@techronin7 hahahaha obviously🤣😅 thanks a ton anyway
It works, this is beautiful !
its still says deployment failed when doing those steps
anyone know how to fix: There was an error processing your request: An error occurred.
thanks in advance
wow man. I don't have words to say how this is so freakin amazing. tks a lot!!!!
Bro but it's showing failed in deployment status
Finally working, thanks 🙏🏼 pro
Thanks for the new video man!
you're welcome mate! always a pleasure
Thanks brother its super helpful ❤
my pleasure brother!
bro is the goat, it works like a charm
funniest video ive seen in ages , and good content
There was an error processing your request: An error occurred.
how do you keep the repo cloudflare is using updated?
Got it working on cloudflare but like you said in the video, too many blank preview screens for it to be usable.
@@MaynoothGx i’m glad it worked mate, and yes it’s the current limitations of this tool, hopefully updates will fix these bugs
I keep seeing "There was an error processing your request: An error occurred." after 1 or 2 messages to bolt.
also ....after 00:00 at night is better (really)
Why did you delete the wrangler and versions?
Just knew about it after you announced that you'll reveal an easy method😅, still marvelous effort by you, is it free all along ?
thanks brother! yes, it’s free to set up, the only cost is for premium models, but they’re affordable (05:15), you’re just paying for cloud gpus.
@techronin7 i'll remember you forever 🌹
works fine for me...thanks a lot!
Can we install ollama on bolt within cloudflare
There was an error processing your request: An error occurred.
even tho i tried locally with the last video
same error
Thank you for your vidéo but after many try, the deployement is always failed, have you a solution please ?
@@antoinedefina650 hey mate, did you try following the steps in my pinned comments?
Hi there, it works flawlessly following your step by step tuto. No issue. How to deploy when the app you've built is complete ? What would be the step to use Anthropic claude API instead of openrouter and is it a good idea or is it better to put some $$ on onpenrouter to use the models ? Thanks for feedback. Regards
@@jean-christophepaulau9040 hey mate, for the claude api question you can either charge $5 on openrouter and use it from there (around 0.06 cents per use) or when inputting the API keys, add the Claude orange command and your key. as for deployment, i would recommend you watch a youtube video on how to do it, there’s a few good ones! might be easier for you to follow than if i explain it in the comments. hope it helps!
bro can u give us a way to get open ai keys and use it instead of open router
for sure bro, basically at 02:38 you just have to input the open ai variable name and your key. hope it helps :)
application still file not working bro
i’ve found the solution, i recommend deleting your forked repo and cloudflare page (both at the bottom of their settings menu) and following the steps in the pinned comments. hope that helps brother!
Bro, I changed the Compatibility date to Sep 2, 2024, and added the nodejs_compat to Compatibility flags, but my deployment failed, and Diarrhea didn’t start. Any idea what’s going wrong?😊
same here !
hey bro, have you tried doing a diarrhea following the pinned comments? hope it works!
@@techronin7 Now it's working. TY bro , btw this version doesn't has supabase integration?
remove the = sign from the API name in the variables
everything work just fine
but when i ask it to put images..sometimes it worked but most of the time it didn't
even when i ask it to fix the problem it says the problem fixed but it didn't
Also some prompts didn't work and it says this error(there was an error processing your request: An error occurred
any help!?
@@beast.vibes1 i’m glad it worked brother, and yeah i have the same issues, i think if we give the team some time and updates it should eventually get fixed
also
everything is fine just the modelfile.bat is not working showing some error on json 13line , how to get your desktop port number ? also if you have some fix plz reply
I do not have .env.example in my search options for bolt.new?
Is a paid cloudflare account needed for this? do I have to have a domain hosted on cloudflare?
@@plaidmustache hey bro, no you’re good with the free cloudflare account!
can we deploy it anywhere else other than cloudfare? I am getting workers limit reached in cloudfare after few usage
Please make a video on running the lovable ai on cloudflare
@@GameHavn unfortunately it’s not possible at the moment, because lovable’s code isn’t available publicly
How did you learn all this
@@SjarMenace lots of diarrhea mate
which browser you are using?
arc browser brother! i’ll make a video on cool apps i’m using soon
I can’t be tho only one with this problem: mine does not create apps it’s create random react files and app and srs folders everywhere and it also has such a hard time running commands.. still Cursor it is for me..
cursor is definitely better to guide your project, i saw in bolt.diy ‘s roadmap that they’re working on optimizing the prompts and other tweaks to catch up
it work perfectly
glad to hear that! thanks
Thanks a lot for the tutorial, it worked! Question: as long as the project deployed to URL, does this mean that my bolt environment is accessible by anyone who has the URL?
@@stanguitars that’s correct, someone posted steps on how to setup authentication in the forum page i’ve linked in the description, but it didn’t work on my end so didn’t include that in the video. let me know if it works for you!
Maybe somebody here knows why. So i have the same kind of project in Bolt.new and Bolt.diy (locally installed thru homebrew), and everytime the results in bolt.diy are way more ugly. Like no design at all, just bare minimum. I am using openrouter and the google flash 2.0 model, so it shouldn't be a huge downgrade from sonnet.
Could it be that the local environment doesnt support all programming features? Would it be better on on the cloud like you did?
@@baris3985 hey mate, it would be the same. when looking at bolt.diy’s roadmap, they’re planning on doing prompt optimizations and other improvements so i think bolt.new already has some kind of optimization that makes the results better looking
Once deployed, after a brief flashing, I am getting two scroll bars and to see the app I have to scroll down on the smaller bar. Does this happen to anyone else? The app works fine, but the UI layout is all messed up.
nevermind, "Retry Deployment" solved it.
Can I use the lama 3.3 model inside it completely free of charge?
from ollama
hey mate, it costs 0.0007 cents each time you use it, because it runs using cloud gpus.
@@techronin7
How is this?
Where do they send the money to them I don't understand
Isn't the form free?
Yes you could
it works but do I have to buy cloudflare premium?
hey mate you don’t, the free plan works well with this solution
Building application Failed
at what step do you get this message mate?
remove the = sign from the API name in the variables
This doesnt work at all even with pinned comment. I even started over and followed the exact instructions of the pdf. Nothing works
@@Remembadaname55 sorry to hear that mate, where does it stop working?
Are the steps the same if my deployment didn't fail on cloudflare?
same question here lol it just deployed without failing
I figured it out, just continue like normal and it should work well.
bro, how do you generate your youtube script? 😅Teach me please 🙏
it takes me a lot of time! i create a draft myself, then use claude to rewrite it, and then modify it again with words i would use in real life
@@techronin7 you're doing amazing! I really need to start using scripts for my videos. Speaking without a script while making the video has made it challenging for me to stay consistent with my posting schedule. However, you're absolutely crushing it! Keep up the great work!
@@DesignwithAsif thanks for the kind words brother! it definitely helps, you can also record yourself brainstorm ideas of what you want to talk about and feed the transcript to an llm to clean it up
my deployment failed again
how i can fix white screen ? and black header ?
i’ve found the solution, i recommend deleting your forked repo and cloudflare page (both at the bottom of their settings menu) and following the steps in the pinned comments. hope that helps brother!
@@techronin7 thank you 😍
also love the humour 🤣🤣
thank you (:
You're the goat!
your youtube description is goated too tbh
Cursor with o1 or claude is still better in my opinion. Cursur is a fork of VS code so u still have all the features of a real IDE but the power of the best AI Models for coding. I wish they had forked VS Code instead of bolt but it is how it is 😅
love the humor in your videos
thanks mate glad you enjoyed it!
i cant fork the file
Is it unlimited, free?
does this still work?
No. Well, it deploys, You see the home screen for a brief moment, then application errors.
@ okay
@@AshwinSKumar it’s been working for some ppl in the comments when following the pinned comments, but yeah it’s still buggy as it’s a new tool in development
@@techronin7 ok
Can it make mobile games
interesting question, i think for that something like cursor might be better as you’ll have more control over the code, bolt.diy rewrites all the code every time so might not be ideal for games
I too complicated for a non dev too innstall, i wish someone could build an automated process or at least next next -next semi automated
Just follow the steps my friend, it's not rocket science, I don't see an automated process close because it's still in development.
how can i fix the failure after all that steps they mean deleate wrangler.toml but i deleated that in the first steps
Hey bro, I followed the exact method, and deleted the fork and page, but same issue, the message is "Delete wrangler.toml" but it is deleted. will try one more time
hey bro, at what timestamp of the video this message appears? and when you delete the two files, do you do it under main or stable on github?
@@techronin7 I used stable
Now, I didn't delete wrangler.toml and deployed it, it appears to be working the page is up and running.
@@techronin7 yes, I used stable
I've followed the complete process but still its not working, locally and by hosting on cloudflare also, could you please give me a solution?
here is the error :- Cannot read properties of undefined (reading 'toolCalls')
at Object.flush (file:///C:/Users/Admin/Documents/OTTODEV/node_modules/ai/core/generate-text/stream-text.ts:569:33)
at invokePromiseCallback (node:internal/webstreams/util:162:10)
at Object. (node:internal/webstreams/util:167:23)
at transformStreamDefaultSinkCloseAlgorithm (node:internal/webstreams/transformstream:621:43)
at node:internal/webstreams/transformstream:379:11
at writableStreamDefaultControllerProcessClose (node:internal/webstreams/writablestream:1162:28)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1242:5)
at writableStreamDefaultControllerClose (node:internal/webstreams/writablestream:1209:3)
at writableStreamClose (node:internal/webstreams/writablestream:722:3)
at writableStreamDefaultWriterClose (node:internal/webstreams/writablestream:1091:10)
at writableStreamDefaultWriterCloseWithErrorPropagation (node:internal/webstreams/writablestream:1083:10)
at node:internal/webstreams/readablestream:1558:15
at complete (node:internal/webstreams/readablestream:1437:9)
at processTicksAndRejections (node:internal/process/task_queues:105:5
Click outside, press Esc key, or fix the code to dismiss.
You can also disable this overlay by setting server.hmr.overlay to false in vite.config.ts.
i’ve found the solution, i recommend deleting your forked repo and cloudflare page (both at the bottom of their settings menu) and following the steps in the pinned comments. hope that helps brother!
@@techronin7 thanks buddy for this solution, i lost my hope on creating a project, but today it's work fine and deployed.
love to hear that mate, enjoy!
Just got it to work finally.. however, it turns out this diy fork does not let the user deploy the work in progress unlike bolt.new. Is there no work-around this? :/
It works, this is beautiful !
It still says deployment failed after following everything and that sucks