error on push on local libsql

I'm trying to use libsql locally, so i configure my drizzle.config.ts and when i try to run the push command i receive this error
Error: Could not locate the bindings file. Tried:
→ .../node_modules/better-sqlite3/build/better_sqlite3.node
Error: Could not locate the bindings file. Tried:
→ .../node_modules/better-sqlite3/build/better_sqlite3.node
I'm not using better_sqlite3 this is my config
import type { Config } from "drizzle-kit";

const dbCredentials = {
url: "file:local.db",
};

export default {
schema: "./src/db/schema.ts",
driver: "turso",
dbCredentials,
verbose: true,
strict: true,
} satisfies Config;
import type { Config } from "drizzle-kit";

const dbCredentials = {
url: "file:local.db",
};

export default {
schema: "./src/db/schema.ts",
driver: "turso",
dbCredentials,
verbose: true,
strict: true,
} satisfies Config;
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server