stackblitz / bolt.new

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

Build doesn't complete #46

Open samora254 opened 2 weeks ago

samora254 commented 2 weeks ago

Describe the bug

UNABLE TO BUILD THE APP READY FOR DEPLOYMENT image

Link to the Bolt URL that caused the error

https://bolt.new/~/sb1-x74kxp

Steps to reproduce

I ran a prompt but cant preview the output because it cannot build the app after multiple attempts

Expected behavior

I ran a prompt but cant preview the output because it cannot build the app after multiple attempts

Screen Recording / Screenshot

image

Platform

Browser name = Chrome
Full version = 129.0.0.0
Major version = 129
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 83101248,
  "usedJSHeapSize": 73136808,
  "jsHeapSizeLimit": 4294705152
}
Username = samora254
Chat ID = f185339153fa

Additional context

Error:

Failed building the project. Make sure the build command is correct and try again.
Nemikolh commented 1 week ago

Hey @samora254! Looks like vite is missing from your dependency list. You can edit your package.json to add it and then run npm install to install it.

samdenty commented 1 week ago

i've just opened a pr to add auto-fixes for build errors encountered inside deployment build commands