`drizzle-kit studio` is unable to launch D1 db (prod, remote)

Steps to reproduce: 1. Clone https://github.com/cjxe/nextjs-d1-drizzle-cloudflare-pages 2. Follow README.md. 3. Run pnpm db:studio:local. Verify that viewing the local d1 db is fine. 4. Run pnpm db:studio:prod. Verify that drizzle-kit is unable to view the d1 prod remote db. Error:
drizzle-kit: v0.21.2
drizzle-orm: v0.30.10

No config path provided, using default path
Reading config file '/Users/username/project/drizzle.config.ts'
Invalid input Either "turso", "libsql", "better-sqlite" are available options for "--driver"
 ELIFECYCLE  Command failed with exit code 1.
drizzle-kit: v0.21.2
drizzle-orm: v0.30.10

No config path provided, using default path
Reading config file '/Users/username/project/drizzle.config.ts'
Invalid input Either "turso", "libsql", "better-sqlite" are available options for "--driver"
 ELIFECYCLE  Command failed with exit code 1.
📁 drizzle.config.ts: https://github.com/cjxe/nextjs-d1-drizzle-cloudflare-pages/blob/main/drizzle.config.ts
1 Reply
lettucebaran
lettucebaranOP7mo ago
the issue is fixed with drizzle-kit v0.21.3, THANK YOU! ❤️
Want results from more Discord servers?
Add your server