Update docs about legacy-peer-deps requirement

This commit is contained in:
Claude 2025-11-11 05:37:04 +00:00
parent 1ac17e1b5c
commit 3c06e2cf6c
No known key found for this signature in database

View file

@ -56,9 +56,9 @@ APP_SECRET=your-random-secret-key
The `vercel.json` file has been configured with:
- **Custom build command**: Uses the standard `npm run build` which includes database setup
- **Install command**: Ensures all dependencies are properly installed
- **Install command**: Uses `npm install --legacy-peer-deps` to handle React 19 peer dependency conflicts
Note: Vercel automatically handles function timeouts based on your plan tier.
Note: The `--legacy-peer-deps` flag is required because the project uses React 19, but some dependencies still expect React 18.
## Troubleshooting