-
Notifications
You must be signed in to change notification settings - Fork 7.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem Temporarily Solved, Not Fix: Error building my application #1414
Comments
Try running app with |
My need is really this, to build my application and make it available on my VPS. I did this with version Any help? |
I also faced this issue, please help me. |
I'm going to do some new experiments today, including setting up the Wrangler to see if it works. |
but the "child-process" is used in more files and removing these files will break features. |
@Stijnus @xKevIsDev @thecodacus Can we replace this child-process thing with something other or make it more optional to make the cloudflare/VPS deployment work again? |
@leex279 , I have removed patch api.deploy.ts 104-109
to
but now I have another issue |
could you test : #1436 |
@morningxm yeah, got the same with the PR from @Stijnus. But I am confident he will find a solution for this as well :) |
Hi, just for reference, I was able to run production via PR #1436. This change effectively resolved my issue without needing to run in dev mode. Here's the detailed process description:I simply pulled the latest released version v0.0.7: git clone https://github.com/stackblitz-labs/bolt.diy.git -b v0.0.7 --depth 1 Then, I built it directly: docker build -t bolt-ai:production -t bolt-ai:latest --target bolt-ai-production . Next, I ran it using compose: cp .env.example .env.local
docker compose --profile production up Then I encountered the following error related to
At this point, the only solution was to rebuild the development version. However, with the latest PR #1436, I was able to follow the steps above again and successfully run it directly: ❯ docker compose --profile production up
[+] Running 1/1
✔ Container boltdiy-app-prod-1 Recreated 0.1s
Attaching to app-prod-1
app-prod-1 |
app-prod-1 | > [email protected] dockerstart /app
app-prod-1 | > bindings=$(./bindings.sh) && wrangler pages dev ./build/client $bindings --ip 0.0.0.0 --port 5173 --no-show-interactive-dev-session
app-prod-1 |
app-prod-1 |
app-prod-1 | ⛅️ wrangler 3.108.0
app-prod-1 | --------------------
app-prod-1 |
app-prod-1 | ✨ Compiled Worker successfully
app-prod-1 | Your Worker and resources are simulated locally via Miniflare. For more information, see: https://developers.cloudflare.com/workers/testing/local-development.
app-prod-1 |
app-prod-1 | Your worker has access to the following bindings:
app-prod-1 | - Vars:
app-prod-1 | - RUNNING_IN_DOCKER: "(hidden)"
app-prod-1 | - DEFAULT_NUM_CTX: "(hidden)"
app-prod-1 | [wrangler:inf] Ready on http://0.0.0.0:5173
app-prod-1 | [wrangler:inf] - http://127.0.0.1:5173
app-prod-1 | ⎔ Starting local server... Overall, in my test case, this PR works! |
@Tryanks yes it works now. Stinjus did another Commit in the meantime, but I am not sure yet if it not broke something else (at least in the "Debug" Tab in Settings, I see that the information request is not working. But other then that it works. Topic is also here a bit covered/discussed: https://thinktank.ottomator.ai/t/how-to-upgrade-bold-diy-to-v0-0-7-on-cloudflare/6010/8 |
The team has a quick fix for this in progress. Will circle back here once it has been merged |
@xKevIsDev So as soon as it is resolved, let us know and then we can close this issue. Thanks so much guys! |
@zeneiltongpdev please tag me if it is resolved, thank you so much. |
@viethoang1520 Yes bro, for me everything is working now, I am tagging you as requested, but it is possible that some errors may appear, but we will be here to help. ⚡ Follow the instructions in this Youtube Tutorial DIY Smart Code 👨💻, if you also want to make your own web version. But remember to change the PR for it to work normally. Checkout with GitHub CLI Command:
Special thanks to everyone who helped with this issue. ⚡
|
Thank you, @zeneiltongpdev . |
@morningxm yes open a new issue please with more details, screenshot, model you are using etc. |
@zeneiltongpdev I reopened. Let it please open until we merge a final solution to the main branch, which we will then also bring as hotfix to the stable branch. |
Oh! I'm so sorry @leex279, for closing without authorization. I wish I could help with the project too, so I'll be looking for solutions and new resources. |
@morningxm Alright my friend... 🤗 |
@leex279 have you merged the solution to the stable branch? I'm looking forward to hearing from you. Thank you so much |
@viethoang1520 no, its not even on main at the moment. Just asked @thecodacus to review it again, as @Stijnus did one more fix. If this goes through his review, we can merge to main and do a hotfix for stable. |
where are we right now? |
commit 4a851f9 Author: Stijnus <[email protected]> Date: Sat Mar 8 17:18:17 2025 +0100 remove the beta label commit 0509033 Author: Stijnus <[email protected]> Date: Sat Mar 8 17:09:28 2025 +0100 Update UpdateTab.tsx commit 7f0726a Author: Stijnus <[email protected]> Date: Sat Mar 8 17:03:58 2025 +0100 Rework the Update Tab commit f079794 Author: Stijnus <[email protected]> Date: Sat Mar 8 10:28:44 2025 +0100 Update api.enhancer.ts commit d221150 Merge: f82c8a4 cd4a5e8 Author: Stijnus <[email protected]> Date: Fri Mar 7 17:30:29 2025 +0100 Merge branch 'main' into ACT_BoltDYI_BUGFIX_1414 commit f82c8a4 Author: Stijnus <[email protected]> Date: Fri Mar 7 17:27:19 2025 +0100 Update api.git-proxy.$.ts commit 8d2fc2d Author: Stijnus <[email protected]> Date: Fri Mar 7 17:24:54 2025 +0100 Update api.git-proxy.$.ts commit 28d397b Author: Stijnus <[email protected]> Date: Fri Mar 7 17:20:44 2025 +0100 Update api.enhancer.ts commit dfd684c Author: Stijnus <[email protected]> Date: Fri Mar 7 16:57:06 2025 +0100 Revert api.enhancer.ts back to original code commit 30a1d9a Author: Stijnus <[email protected]> Date: Wed Mar 5 23:11:19 2025 +0100 bugfixes commit f987297 Author: Stijnus <[email protected]> Date: Tue Mar 4 23:34:44 2025 +0100 Update api.enhancer for prompt enhancement commit 3c9c527 Author: Stijnus <[email protected]> Date: Tue Mar 4 22:52:27 2025 +0100 lm studio fix and fix for the api key commit 80e899b Author: Stijnus <[email protected]> Date: Tue Mar 4 17:34:42 2025 +0100 fix the root.tsx and the debugtab commit 22c2d12 Author: Stijnus <[email protected]> Date: Mon Mar 3 23:58:20 2025 +0100 Update root.tsx commit b06361a Author: Stijnus <[email protected]> Date: Mon Mar 3 21:07:28 2025 +0100 Update vite.config.ts commit 5f80e6d Author: Stijnus <[email protected]> Date: Mon Mar 3 21:03:53 2025 +0100 fix for vite commit 578b661 Author: Stijnus <[email protected]> Date: Mon Mar 3 20:52:55 2025 +0100 Fix: error building my application stackblitz-labs#1414
* Fix: error building my application #1414 * fix for vite * Update vite.config.ts * Update root.tsx * fix the root.tsx and the debugtab * lm studio fix and fix for the api key * Update api.enhancer for prompt enhancement * bugfixes * Revert api.enhancer.ts back to original code * Update api.enhancer.ts * Update api.git-proxy.$.ts * Update api.git-proxy.$.ts * Update api.enhancer.ts
fix is merged please try the latest main branch |
* Fix: error building my application #1414 * fix for vite * Update vite.config.ts * Update root.tsx * fix the root.tsx and the debugtab * lm studio fix and fix for the api key * Update api.enhancer for prompt enhancement * bugfixes * Revert api.enhancer.ts back to original code * Update api.enhancer.ts * Update api.git-proxy.$.ts * Update api.git-proxy.$.ts * Update api.enhancer.ts
Describe the bug
Link to the Bolt URL that caused the error
https://github.com/stackblitz-labs/bolt.diy/releases/tag/v0.0.7
Steps to reproduce
pnpm run build && pnpm run start
Expected behavior
Complete build
Screen Recording / Screenshot
No response
Platform
Provider Used
No response
Model Used
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: