when i reinstall everything, I get this: ```Prisma...
# prisma-client
s
when i reinstall everything, I get this:
Copy code
Prisma schema loaded from prisma/schema.prisma
Error: TypeError: Cannot read property 'engineType' of undefined
  at getClientEngineType (/Users/sahil/code/loot-tme/node_modules/@
r
@Sahil Lavingia 👋 Are you on the latest version of
prisma
and
@prisma/client
?
plus one +1 1
j
(This error message is highly unexpected, so we are really interested in figuring out in which combination of versions it can occur. The output of
npx prisma -v
in the project would be relevant here)
s
i ended up fixing it, it took a while but moving from npm to yarn seemed to have worked
j
That's great, but weird at the same time. Using Npm or Yarn should work equally well and not cause any problems of course. Probably something went wrong during one of the package installations. 🤷‍♀️ Let us know if this happens again, for now I'll put this down as a fluke and not investigate further.