stackblitz / bolt.new

Prompt, run, edit, and deploy full-stack web applications
https://bolt.new
MIT License
7.76k stars 2.8k forks source link

Project fails to build on deploy: Failed building the project. Make sure the build command is correct and try again. #2019

Open endocytosis opened 1 week ago

endocytosis commented 1 week ago

Issue Description: User attempts to deploy the project to Netlify at which point the LLM runs the build command. Project fails to build, often due to a missing dependency. At other times the wrong build command for the framework is used.

Manual Troubleshooting Steps

See the comment below for the latest update on the product level improvement coming soon!

Overcomer7 commented 6 days ago

Mine is still not deploying! Sends the same msg again and again. Losing credits like hell!

Overcomer7 commented 6 days ago

Issue: User attempts to deploy the project to Netlify at which point the LLM runs the build command. Project fails to build, often due to a missing dependency. At other times the wrong build command for the framework is used.

Some users have been able to successfully resolve this problem by prompting Bolt to install the missing dependency, at which point building is successful.

I am still not able to deploy; bolt not able to cure the issue.

Bookern commented 6 days ago

I didn't resolve the issue and started build again from scratch - it was only a simple build. Possibly caused by me asking to continue an earlier build and it started with a project that wasn't mine... Not sure

kc0tlh commented 6 days ago

📣 Coming soon: We have a PR written (waiting on merge) that will add an auto-debug step for these build errors. In the meantime, see the issue description for some manual troubleshooting steps!

endocytosis commented 3 days ago

Update: The team just released a fix for this. When these build errors occur, you should now see an auto-fix to one-click fix the build step and attempt to re-deploy.

Overcomer7 commented 3 days ago

Frankly, the auto fix was already present and didn't work because I clicked on them several times. When we click deploy, it should deploy.

On Fri, 15 Nov, 2024, 20:04 Brian, @.***> wrote:

Update: The team just released a fix for this. When these build errors occur, you should now see an auto-fix to one-click fix the build step and attempt to re-deploy.

— Reply to this email directly, view it on GitHub https://github.com/stackblitz/bolt.new/issues/2019#issuecomment-2479026958, or unsubscribe https://github.com/notifications/unsubscribe-auth/BM26H44RECCYQYAICITVBU32AYA5RAVCNFSM6AAAAABRSPPWJCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZZGAZDMOJVHA . You are receiving this because you commented.Message ID: <stackblitz/bolt. @.***>