Next.js Discord

Discord Forum

Error when using prisma generate

Unanswered
Nile Crocodile posted this in #help-forum
Open in Discord
Nile CrocodileOP
As the title says, I'm having an issue using the prisma generate command, I also tried npx prisma generate but same error:

Environment variables loaded from .env
Prisma schema loaded from prisma\schema.prisma
Error: spawn prisma-prisma-client-js ENOENT


I already created my schema and migration, the prisma folder is in the root directory of my NextJS 14 project, any idea?

1 Reply

Nile CrocodileOP
nvm I miss typed the generator client 😅