Open nibor98 opened 11 months ago
It seems like I encountered the same error message because I accidentally called libsql from a client component. It might be helpful to double-check that. Additionally, this error message was observed when using Next.js version < 13.5.5. In such cases, you need to modify the Next.js config. You can find more information on how to do this here: https://github.com/libsql/libsql-client-ts#using-the-library-with-nextjs .
I have tried to use @libsql/client together with drizzle inside some new projects of mine, however I always get the following error, whatever I try.
At first I though the problem was using bun, but this also happens every time with npm and pnpm.
Rest of my project setup:
Usage of @libsql/client:
Thank you!