I’m getting an error when trying to generate the P...
# prisma-client
t
I’m getting an error when trying to generate the Prisma client, it’s generating the following:
Copy code
export const Prisma = makePrismaClientClass<ClientConstructor<Prisma>>({typeDefs, endpoint: `${process.env['PRISMA_ENDPOINT, '<http://localhost:4466/currentbusiness>'']}`})
from:
Copy code
endpoint: ${env:PRISMA_ENDPOINT, '<http://localhost:4466/currentbusiness>'}
in my prisma.yml file
I believe it should be something like:
Copy code
export const Prisma = makePrismaClientClass<ClientConstructor<Prisma>>({typeDefs, endpoint: `${process.env['PRISMA_ENDPOINT'] || '<http://localhost:4466/currentbusiness>'}`})
@nilan I think this got overlooked, is this on anyone’s radar?
@schickling sorry to tag you randomly, but I am don’t think anyone is watching this channel.
s
@tim2 can you take a look here? 👀