Skip to content
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

Deploy Bug: An unknown error occured #499

Open
Godfrethree opened this issue Oct 12, 2024 · 47 comments
Open

Deploy Bug: An unknown error occured #499

Godfrethree opened this issue Oct 12, 2024 · 47 comments

Comments

@Godfrethree
Copy link

Godfrethree commented Oct 12, 2024

Describe the bug

Unable to deploy my application
image

Steps to reproduce

  1. build application
  2. attempt to deploy

Expected behavior

  1. build application
  2. deploy successfully
@Godfrethree
Copy link
Author

Wasting my tokens every time I try to do this 😞

@kc0tlh
Copy link
Collaborator

kc0tlh commented Oct 22, 2024

We are working on improving deployment reliability. Stay tuned for updates here!

@kc0tlh
Copy link
Collaborator

kc0tlh commented Oct 29, 2024

📣 Update: we've found that many deployment failures are due to issues with the underlying codebase. We will be shipping an update this week that adds in more error handling to check for issues during the deploy process and tries to resolve them as you can see in the video below:

380818646-16c4e329-9ffb-49ec-a198-9af891e4cca2.mp4

Also, linking this to #1022 and #1037 as we are actively investigating all three and there may be some overlap in the core issues at play.

@LCDA26
Copy link

LCDA26 commented Nov 14, 2024

Hi, I have exactly the same problem when deploying, and I also spent millions of Tokens! Has anyone found the solution? Thanks in advance

@jackyroben
Copy link

Unfortunately I did not find a solution for this

@LCDA26
Copy link

LCDA26 commented Nov 14, 2024

Malheureusement, je n'ai pas trouvé de solution pour ça

Ok, merci pour votre réponse. Savez-vous à qui je peux me tourner pour trouver une solution ? après tant de travail et d'argent dépensé en jetons, c'est très frustrant de ne pas pouvoir finir votre travail...

@meapps
Copy link

meapps commented Nov 14, 2024

Hi, I have exactly the same problem when deploying, and I also spent millions of Tokens! Has anyone found the solution? Thanks in advance

Yes i díd build it with npm run build and then let the AI fix the errors. And @jackyroben send a screenshot from the errors you get then (from the terminal)

@yohannlibot
Copy link

Hi, same error under Arc on macOS, impossible to build one project, but all the other ones I have are ok... Already deployed on Netlify, I can't do anything as the project is just not built...

@meapps
Copy link

meapps commented Nov 24, 2024

@yohannlibot try to build it through the terminal and copy the errors in the chat and let the AI fix it then.

@yohannlibot
Copy link

@yohannlibot try to build it through the terminal and copy the errors in the chat and let the AI fix it then.

Can you please tell me how?

@yohannlibot
Copy link

It worked, thanks so much @meapps

@meapps
Copy link

meapps commented Nov 24, 2024

Np, I am glad I could help. @yohannlibot

@meapps
Copy link

meapps commented Nov 24, 2024

Terminal screenshot
Just in case for everybody that has this issue. Type Enter and copy the errors and put it in the AI chat and let it fix it.

@aitechbossjenn
Copy link

I am having the same error. I haven't been able to delpoy anymore. I used to be able to but not I cannot. I have wasted about 5M tokens trying to deploy all my project. Help please!

@Comonperx
Copy link

Hello, it is December 8, 2024 and this problem is still there... millions of credits wasted for nothing. Bolt is a big disappointment. Does anyone have an answer to this?

@marlonvanwyhe
Copy link

Same here , i have been trying to get this app deployed and have now spent over 10million on trying to get it to deploy. Some help please Bolt.

@Mantle-Andrew
Copy link

Yes, endless issues with deploying components that will not run on the containers. Wasting credits and time.

@meapps
Copy link

meapps commented Dec 10, 2024

@Mantle-Andrew @marlonvanwyhe Please try and the bolt.new can fix it then!> Terminal screenshot Just in case for everybody that has this issue. Type Enter and copy the errors and put it in the AI chat and let it fix it.

@marlonvanwyhe
Copy link

@meapps the terminal screenshot is not loading... see above

@meapps
Copy link

meapps commented Dec 10, 2024

@meapps the terminal screenshot is not loading... see above

What y mean? Just type in the terminal npm run build and then copy the errors in the chat to get fixed. @marlonvanwyhe

@Comonperx
Copy link

@meapps this command does not work. Copying what is in the terminal into the chat does not solve the problem. however I wrote npm run build and pressed enter.

@meapps
Copy link

meapps commented Dec 10, 2024

@meapps this command does not work. Copying what is in the terminal into the chat does not solve the problem. however I wrote npm run build and pressed enter.

After it try to fix the errors did you try to run the build again through the terminal?. Sometimes there different errors then.
And you need to repeat the workaround a couple of times. @Comonperx

@Comonperx
Copy link

@meapps yes there are infinite errors. after 18 times I stopped. Thank you anyway for your help. @kc0tlh no help and reaction from your side. I lost $50 with this error and at least 14 hours. I wanted to make a video to sell your merits on my channel of 1.2 million subscribers, I will do the opposite and I said to flee your CATASTROPHIC service. The video will be available tomorrow on YouTube without any reaction from you.

@meapps
Copy link

meapps commented Dec 10, 2024

@meapps yes there are infinite errors. after 18 times I stopped. Thank you anyway for your help. @kc0tlh no help and reaction from your side. I lost $50 with this error and at least 14 hours. I wanted to make a video to sell your merits on my channel of 1.2 million subscribers, I will do the opposite and I said to flee your CATASTROPHIC service. The video will be available tomorrow on YouTube without any reaction from you.

@Comonperx Sry i am just trying to help.

@jackyroben
Copy link

@meapps yes there are infinite errors. after 18 times I stopped. Thank you anyway for your help. @kc0tlh no help and reaction from your side. I lost $50 with this error and at least 14 hours. I wanted to make a video to sell your merits on my channel of 1.2 million subscribers, I will do the opposite and I said to flee your CATASTROPHIC service. The video will be available tomorrow on YouTube without any reaction from you.

Bolt is not good enough too many error, it's not ready yet I have lost million and millions token on fixing error finally decided to move on and try something else theres no support no nothing

@Comonperx
Copy link

@meapps yes there are infinite errors. after 18 times I stopped. Thank you anyway for your help. @kc0tlh no help and reaction from your side. I lost $50 with this error and at least 14 hours. I wanted to make a video to sell your merits on my channel of 1.2 million subscribers, I will do the opposite and I said to flee your CATASTROPHIC service. The video will be available tomorrow on YouTube without any reaction from you.

Bolt is not good enough too many error, it's not ready yet I have lost million and millions token on fixing error finally decided to move on and try something else theres no support no nothing

Not responding and not reimbursing the lost money is more than not serious. Tomorrow my video will describe this. Lovable is less flashy but at least they are serious and don't steal from their users...

@Abakan
Copy link

Abakan commented Dec 11, 2024

Hello, after one day on bolt, the AI is incredible but unfortunately I am also stuck and I have spend millions of token for nothing :-/ I try to enter npm run build on the terminal and past the result in the AI chat but that's fix noting. If we don't have a reel solution we can't finish our project and stay susbcribe. Please help 🙏
Update: 70$ worth of tokens for going round in circles! The ia can't find the solution. One of the biggest promises turns out to be one of the biggest frustrations I've ever experienced.

@marlonvanwyhe
Copy link

I have now bought another 20 million, lets see if i can this to finally fix the errors and deploy to netlify. Fingers crossed

@Abakan
Copy link

Abakan commented Dec 12, 2024

I have now bought another 20 million, lets see if i can this to finally fix the errors and deploy to netlify. Fingers crossed

Hey ;) I did the same thing last night, for nothing. The AI tries the same procedure in loops, even if i asks it to take other approaches. I often have the same problem with PostCSS, and an error message in the preview that tells me about this: [plugin:vite:react-babel] /home/project/src/App.jsx: Missing semicolon - I paste all the error messages from the "npm run build" command to the ia but it's endless, impossible to launch the application and even less to deploy.

@Abakan
Copy link

Abakan commented Dec 12, 2024

Well, 2 solutions: a developer I showed the code to explained to me that the ia was putting comments in some files that needed to be deleted - that solved the problem.

  • in your bolt settings, there are all your backups, loaded the one where you are sure you can build and deploy and also a solution

@robwynn
Copy link

robwynn commented Dec 20, 2024

Same problem as everyone else. What's annoying is after I got an error on the 1st time I used it I pressed the fix button and it did the same thing but this time both the first and second completed. Then when i continued it had an error for having the same thing twice! This all cost tokens. I've now run out of tokens and won't buy more after reading that other users have spent millions of tokens and got nowhere!

@jbb-kryo
Copy link

jbb-kryo commented Jan 2, 2025

Same problem. Running npx vite build generates the following error, continuously:

❯ npx vite build
vite v5.4.8 building for production...
✓ 2978 modules transformed.
dist/index.html                      0.50 kB │ gzip:   0.33 kB
dist/assets/index-Dl5fHUDK.css      44.59 kB │ gzip:   7.39 kB
dist/assets/browser-T2Ur0NCS.js      0.30 kB │ gzip:   0.25 kB
dist/assets/index-CuN_K-lc.js    2,443.96 kB │ gzip: 416.10 kB

(!) Some chunks are larger than 500 kB after minification. Consider:
- Using dynamic import() to code-split the application
- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
✓ built in 18.18s

Nothing appears to fix the issue. It appears to be having an issue with chunk sizes. When deployed to Netlify, it just ends up showing the front page, literally nothing else. This problem has persisted for a long time.

@NetSun25
Copy link

NetSun25 commented Jan 5, 2025

I have also been trying to deploy and used up many millions of credits chatting with AI.
The Netlify token that you provided seems to be invalid. Update your token and try again.
Could someone from Bolt.new jump in and help us please - having been a massive high from building a cool website in 2 days its now almost a week of being 'stuck' really need the site updated to support a marketing launch. Perhaps now the holidays are coming to an end there will be more support? Thank you. Tim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests