Skip to content

Fix Vercel deployment: Configure root directory#2

Merged
DTTconnect merged 2 commits into
mainfrom
claude/fix-vercel-deployment-errors-01Q5kUq8L9SvmpeM58vaKmhh
Nov 14, 2025
Merged

Fix Vercel deployment: Configure root directory#2
DTTconnect merged 2 commits into
mainfrom
claude/fix-vercel-deployment-errors-01Q5kUq8L9SvmpeM58vaKmhh

Conversation

@DTTconnect
Copy link
Copy Markdown
Owner

Add root-level vercel.json to specify that the Next.js app is located in the lovable-ui subdirectory. This resolves the build error where Vercel was trying to build from the root directory which doesn't contain the Next.js application.

Add root-level vercel.json to specify that the Next.js app
is located in the lovable-ui subdirectory. This resolves the
build error where Vercel was trying to build from the root
directory which doesn't contain the Next.js application.
@vercel
Copy link
Copy Markdown

vercel Bot commented Nov 14, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
dtc Error Error Nov 14, 2025 5:25pm

- Update root vercel.json with proper function timeouts and routing
- Remove conflicting lovable-ui/vercel.json
- Add serverless environment check to generate-daytona route
- Update DEPLOYMENT.md with accurate instructions and limitations

Changes:
- Enhanced vercel.json with functions config and rewrites
- Added VERCEL env check in generate-daytona route (returns 501)
- Documented Daytona limitation on serverless platforms
- Clarified that /api/generate works on Vercel, /api/generate-daytona does not

The /api/generate endpoint works perfectly on Vercel for code generation.
The /api/generate-daytona endpoint requires local development or non-serverless hosting.
@DTTconnect DTTconnect merged commit 4b4f119 into main Nov 14, 2025
1 of 2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants