PrismaP
Prisma16mo ago
1 reply
Kublick

Build error on enum type

Hello when building my docker image I'm getting an error at build time

Type error: Module '"@prisma/client"' has no exported member 'LeaveType'.
19.24
19.24 > 1 | import { PrismaClient, LeaveType } from "@prisma/client";

The LeaveType is an enum for postgress, Im using it on the seed file and on local it builds correctly (next build) .. but as far I try to generate a docker image for deploying it gets stuck
Was this page helpful?