mish
mish
PPrisma
Created by mish on 4/30/2025 in #help-and-questions
Wrong path for finding generated TS queryCompiler
I have prisma in a package in my monorepo. So in backend/ I have all the prisma setup. In backend/prisma/schema.prisma I have my schema:
generator client {
provider = "prisma-client-js"
previewFeatures = ["fullTextSearchPostgres", "postgresqlExtensions", "queryCompiler", "driverAdapters"]
output = "../src/prisma"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["fullTextSearchPostgres", "postgresqlExtensions", "queryCompiler", "driverAdapters"]
output = "../src/prisma"
}
So it spits the client out in backend/src/prisma which is great When I run my app (I'm using SST for local lambda dev) I get: ENOENT: no such file or directory, open '/home/me/project/src/prisma/query_compiler_bg.wasm' But that should be backend/src/prisma not src/prisma So I'm not clear how to use this generator output in a monorepo
6 replies
PPrisma
Created by mish on 5/4/2024 in #help-and-questions
Incorrect binary data format in bind parameter
This is my problem, it's happening more and more now randomly and causing me problems: https://github.com/prisma/prisma/issues/17110#issuecomment-1881993283 Posted about it 4mo ago, janpio 👀 'd it, not sure what else to do here. Hard to reproduce but it's happening for me multiple times a day now.
2 replies