Unable to Publish Vibe Site (Includes Workaround)
Published:Known Issue|We’re investigating this issue.
When you publish a Vibe site, your code is built into the files that get served to visitors. If the code contains an error, the build can't complete and publishing fails. We know this isn't surfaced clearly in the editor right now, and we're working on improving how these errors are communicated.
If publishing is failing on your Vibe site you can attempt to fix the error causing the issue and fix the error yourself using the steps below.
Finding the error
- Open the editor and switch to the Code tab.
- Click the hamburger menu in the top-left corner of the Code tab.
- Go to Terminal and click New Terminal.
- Once the terminal loads, type
npm run buildand press Enter. - If the build fails, the terminal will display an error describing the problem.
Fixing the error
- Copy the error message from the terminal (just the error text, not the surrounding output).
- Paste it into the AI Assistant chat and ask it to fix the issue.
- When the AI finishes, run
npm run buildagain to confirm the error is gone and no new ones appeared. - If the build completes with no errors, try publishing again.
If the error persists
If you've tried a few times and the AI Assistant still can't resolve the error, contact support and include the full error text from the terminal. Some build errors need a closer look from our team to fix.
Click I'm experiencing this issue and we'll make sure to keep you updated as we work to resolve this issue.

