Closed lab-do closed 3 weeks ago
lucia
I noticed significant performance issues with TypeScript when using Lucia., which are causing the IDE to become extremely slow.
Steps to reproduce:
git clone https://github.com/SikandarJODD/Auth-Lucia
DATABASE_URL
Auth-Lucia/src/lib/server/db.ts
npx tsc --noEmit --incremental false --generateTrace tracing npx @typescript/analyze-trace tracing/
This was caused by using DrizzleSQLiteAdapter from @lucia-auth/adapter-drizzle with drizzle-orm/libsql
DrizzleSQLiteAdapter
@lucia-auth/adapter-drizzle
drizzle-orm/libsql
I switched to LibSQLAdapter from @lucia-auth/adapter-sqlite and that fixed my issue.
LibSQLAdapter
@lucia-auth/adapter-sqlite
Package
lucia
Describe the bug
I noticed significant performance issues with TypeScript when using Lucia., which are causing the IDE to become extremely slow.
Steps to reproduce:
DATABASE_URL
import insideAuth-Lucia/src/lib/server/db.ts