tursodatabase / libsql-client-ts

TypeScript/JavaScript client API for libSQL
https://docs.turso.tech/sdk/ts/quickstart
MIT License
181 stars 30 forks source link

NextJS + Turso + Drizzle issue #201

Open Djboy08 opened 2 months ago

Djboy08 commented 2 months ago

Referenced here from another user: https://github.com/tursodatabase/libsql/issues/1276

I get the same error and using libsql client. I tried downgrading multiple times of libsql and it was always getting the same error.

I am using nextjs Version 14.0.3 and have also tried 14.0.2

joshxfi commented 2 months ago

Hello, I got the same error (on a monorepo setup), here's how I fixed it https://github.com/tursodatabase/libsql/issues/1276#issuecomment-2065694434

GustavoOS commented 1 month ago

Hard to undestand why a "minor" update caused this breaking change

crtnx commented 2 weeks ago

A solution from #184:

import {} from "@libsql/client/web"