3 Replies
I haven't seen that error. Is it possible that you have multiple versions of kysely in your node_modules?
FWIW There's an alternative D1 dialect here: https://www.npmjs.com/package/@gawdn/kysely-cloudflare-d1
npm
@gawdn/kysely-cloudflare-d1
Cloudflare D1 bindings for Kysely. Latest version: 1.0.3, last published: a year ago. Start using @gawdn/kysely-cloudflare-d1 in your project by running
npm i @gawdn/kysely-cloudflare-d1
. There are no other projects in the npm registry using @gawdn/kysely-cloudflare-d1.Let me try that one
I nuked the node_modules folder and reinstalled and same thing
├── itty-router@5.0.17
├── kysely-d1@0.3.0
├── kysely@0.27.4
├── typescript@5.4.5
└── wrangler@3.70.0
Nope that errors too
maybe im missing some types
If you use this what versions are you using?
I gave up (lol)