prisma-examples
prisma-examples copied to clipboard
Firebase functions example app
I want a sample project using FIrebase functions and TypeScript and nexus/schema
I made a sample project for Firebase functions and I tried to use output property of generator to upload prisma/client to Cloud Functions but I don't know how to compile this library.
generator client {
provider = "prisma-client-js"
output = "../functions/_generated/client"
}
When I deploy a directory I get this error message because prisma client library genereated contains query-engine-darwin
and JS file.
You most likely forgot to initialize the Prisma Client. Please run `prisma2 generate` and try to run it again
facing same issue here, any solution?
i use yarn instead of npm, able to get rid of the error
face unable to connect database error instead, i think this has to do with the public address, but this is another story(https://github.com/prisma/prisma/issues/525#issuecomment-730514332)