When I run my server, and try to fetch data using the Prisma api, I get the error "LibsqlError: SYNC_NOT_SUPPORTED: sync not supported in http mode". If I remove await libsql.sync(), I dont get the error, and at an earlier point everything seemed to be working in this state (but I guess without changes stored locally? I'm not 100% sure about what role the local dev.db-file plays).
I've followed the guide to setup turso here https://www.prisma.io/docs/orm/overview/databases/turso, but there seems to be issues with synchronizing my local dev.db-file, specifically this part.
When I run my server, and try to fetch data using the Prisma api, I get the error "LibsqlError: SYNC_NOT_SUPPORTED: sync not supported in http mode". If I remove
await libsql.sync()
, I dont get the error, and at an earlier point everything seemed to be working in this state (but I guess without changes stored locally? I'm not 100% sure about what role the local dev.db-file plays).