MichalLytek / typegraphql-prisma

Prisma generator to emit TypeGraphQL types and CRUD resolvers from your Prisma schema

Home Page:https://prisma.typegraphql.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generation hangs with prisma 4.13.0

alacret opened this issue · comments

Describe the Bug
npx prisma generate hangs forever when I upgrade the prisma library

To Reproduce

  1. Update prisma and prisma client to version 0.4.13
  2. Update this library to 0.25.0

Expected Behavior
Generate types as usual

Logs
N/A

Environment (please complete the following information):

  • OS: [e.g. Windows 10 21H1]: Mac OS M1. Ventura OS
  • Node (e.g. 15.8.0) v14.17.0
  • typegraphql-prisma version [e.g. 0.11.1] v0.25.0
  • Prisma version [e.g. 2.18.0] v4.13.0
  • TypeScript version (e.g. 4.2.2) v4.9.4

Additional Context

It's not that it hangs more so that it takes several minutes for 10 models.

According to DEBUG=*, it hangs at
prisma:GeneratorProcess 2023-06-21T13:19:58.473Z prisma:getDMMF dmmf data retrieved without errors in getDmmf Wasm

I'm on windows 11 on my end. I tried the latest version 0e41cdc

Please open a new issue with a minimal reproducible code example.