Open penberg opened 11 months ago
This is the repo that I'm seeing the error on:
https://github.com/ruheni/fullstack-prisma-turso-embedded-db
My steps to reproduce are:
npm i
npx prisma migrate dev
- For good measure, pretty sure you don't need to do this.turso db shell [db name] < prisma/migrations/20230922132717_innit/migration.sql
turso db shell [db name] < prisma/migrations/20230924132455_password/migration.sql
.env
:
TURSO_AUTH_TOKEN=
TURSO_DATABASE_URL=
SESSION_SECRET=llkasjdflkjasdflnasdlkjnalsdf
DATABASE_URL=file:./prisma/dev.db
npm run dev
localhost:3000
and try to signupRelated Discord thread: https://discord.com/channels/933071162680958986/1168952021064351886
And PR that will hopefully resolve this: https://github.com/tursodatabase/libsql/pull/559
Someone reported that with the following Prisma example, they're always getting
TRANSACTION_CLOSED
error on the first write:https://www.prisma.io/blog/prisma-turso-ea-support-rXGd_Tmy3UXX