You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: use TursoDriver instead of InMemoryDriver, remove unnecessary better-sqlite3
- Replace InMemoryDriver with TursoDriver (remote mode for Vercel)
- Add @libsql/client and @objectstack/driver-turso dependencies
- Remove better-sqlite3 dependency (not needed for Turso remote mode)
- Remove better-sqlite3 from esbuild externals and vercel.json includeFiles
- Remove better-sqlite3 copy logic from build-vercel.sh
- Add .env.example with Turso configuration
- Update DEPLOYMENT.md with Turso environment variables and troubleshooting
Turso remote mode uses HTTP-only connection via @libsql/client, which
doesn't require native bindings like better-sqlite3. This makes the
deployment simpler and more suitable for serverless environments.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
0 commit comments