Kublick
Kublick
Explore posts from servers
PPrisma
Created by Kublick on 10/16/2024 in #help-and-questions
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";
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
2 replies