Skip to content

[BUG]: drizzle-kit does not support node:sqlite #5471

@hyunbinseo

Description

@hyunbinseo

Report hasn't been filed before.

  • I have verified that the bug I'm about to report hasn't been filed before.

What version of drizzle-orm are you using?

1.0.0-beta.17-67b1795

What version of drizzle-kit are you using?

1.0.0-beta.17-67b1795

Other packages

No response

Describe the Bug

Reproduction hyunbinseo/svelte-kit-template@c2321da

pnpm i && pnpm db:generate && pnpm db:migrate

No config path provided, using default 'drizzle.config.ts'
Reading config file 'D:\svelte-kit-template\drizzle.config.ts'

Please install either 'better-sqlite3', 'bun', '@libsql/client' or '@tursodatabase/database' for Drizzle Kit to connect to SQLite databases
For the 'bun' driver, run your script using: bun --bun

Maybe add a node-sqlite driver option?

type Config = {
  dialect: Verify<Dialect, 'sqlite'>;
  driver: Verify<Driver, 'd1-http'>;
  dbCredentials: {
    accountId: string;
    databaseId: string;
    token: string;
  };
} | {
  dialect: Verify<Dialect, 'sqlite'>;
  driver: Verify<Driver, 'expo'>;
} | {
  dialect: Verify<Dialect, 'sqlite'>;
  driver: Verify<Driver, 'durable-sqlite'>;
} | {
  dialect: Verify<Dialect, 'sqlite'>;
  driver: Verify<Driver, 'sqlite-cloud'>;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions