Drizzle TeamDT
Drizzle Team2y ago
1 reply
ncage

Switched from bun to pnpm & now i have errors?

So i had all kind of issues with bun so i made th desicion to switch to
pnpm
. One of the scripts i'm written now has a type mismatches. Here is the error message:
Argument of type 'SQLiteTableWithColumns<{ name: "users"; schema: undefined; columns: { id: SQLiteColumn<{ name: "id"; tableName: "users"; dataType: "string"; columnType: "SQLiteText"; data: string; driverParam: string; notNull: true; hasDefault: false; ... 5 more ...; generated: undefined; }, object>; firstName: SQLiteColumn<...>; l...' is not assignable to parameter of type 'SQLiteTable<TableConfig>'.

So i switch from bun driver to better-sqlite3. So SQLiteTableWithColumns & SQLiteTable? Huh? Anyone know what i have have wrong here?
image.png
Was this page helpful?