I am using Prisma (sqlite DB) with an Electron + Angular app
Everything works fine until I try to create a record
I'm getting this error in console few times repeated
Here is a part of my schema.prisma file:
datasource db {
provider = "sqlite"
url = env("DATABASE_URL")
}
generator client {
provider = "prisma-client-js"
binaryTargets = ["native","darwin","debian-openssl-1.1.x","linux-musl"]
}
I've tried using the same Prisma config with a scratch TS project and it works fine
When I've tried it with electron I was getting errors
As I understand it cannot find query engine binaries, but I don't know how to say to Electron where to get them from