Common Issues
deployment
My AI App Won't Deploy or Go Live
Your app runs fine in the AI tool's preview or on your local machine, but when you try to deploy it to production (Vercel, Netlify, Railway, Render, etc.), it fails with errors or shows a blank page.
Error Messages You Might See
Build failed
Module not found
ENOENT: no such file or directory
500 Internal Server Error
Application error: a client-side exception has occurred
Common Causes
- Missing environment variables in the production environment
- Build command or output directory is wrong
- Database connection string points to localhost instead of the production DB
- CORS issues — API calls blocked in production
- The AI tool's preview had built-in services that don't exist in production
How to Fix It
- Check the deployment logs for the actual error message
- Make sure all environment variables from your local .env file are set in production
- Verify the build command matches what your framework expects
- Check if your database URL is correct for the production environment
- If you see CORS errors, update your API to allow requests from your production domain
Real developers can help you.
Describe what's wrong in plain English. No technical knowledge needed.
Get HelpFrequently Asked Questions
My app works in the preview but not after deploy. Why?
AI tool previews often include built-in services (databases, auth) that don't automatically carry over to production. You need to set up those services separately.
I get a blank page after deploying. What's wrong?
Usually a build error or missing environment variable. Check your deployment platform's build logs for the actual error.