You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Logs from Developer Tools Console or Command line, if any:
Environment variables loaded from ../../../.env
Prisma schema loaded from prisma/schema.prisma
Prisma Studio is up on http://localhost:5555
Unable to get DMMF from Prisma Client: Error: Cannot find module '@prisma/client'
Require stack:
- /home/nailuj29/.config/yarn/global/node_modules/prisma/build/index.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:941:15)
at Function.resolve (node:internal/modules/cjs/helpers:99:19)
at eval (eval at resolvePrismaClient (/home/nailuj29/.config/yarn/global/node_modules/prisma/build/index.js:110600:75), <anonymous>:1:9)
at PCW.resolvePrismaClient (/home/nailuj29/.config/yarn/global/node_modules/prisma/build/index.js:110600:75)
at PCW.getDMMF (/home/nailuj29/.config/yarn/global/node_modules/prisma/build/index.js:110427:41)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async PrismaService.respond (/home/nailuj29/.config/yarn/global/node_modules/prisma/build/index.js:110692:50)
at async /home/nailuj29/.config/yarn/global/node_modules/prisma/build/index.js:110867:35 {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/home/nailuj29/.config/yarn/global/node_modules/prisma/build/index.js'
]
}
Does the issue persist even after updating to the latest prisma alpha? (npm i -D @prisma/cli@dev)
yes
Prisma schema (if relevant):
n/a
The text was updated successfully, but these errors were encountered:
Oops, I realized that both you and I are using global installed prisma, it couldn't find the global installed version of @prisma/client, that's why. Let's avoid using it, do it again with npx prisma studio.
Hey @nailuj29gaming @ducdev this is most definitely a bug, since Studio should be able to launch from a global installation as well.
This looks like the same issue as #703 then, so I'll close this one just to keep things manageable for myself. Please let me know if I misunderstood and I will reopen!
Prisma version (
prisma -v
ornpx prisma -v
):Logs from Developer Tools Console or Command line, if any:
prisma
alpha? (npm i -D @prisma/cli@dev
)yes
The text was updated successfully, but these errors were encountered: