#Having issues with enums

7 messages · Page 1 of 1 (latest)

blazing flame
#

Hey @dapper hawk

To confirm, did you invoke npx prisma generate command?

#

This error may indicate that PrismaClient is not in sync with Prisma Schema

dapper hawk
#

Yeah, I did. It ran well but when I run yarn dev, it shows that

dapper hawk
blazing flame
#

It looks like the error is coming from @apollo graphql package - Are you using apollo?

dapper hawk
#

Yeah, I am

blazing flame
#

Does the error go away if you comment out the enum?
Are you using any Prisma generators?