```error - Error: @prisma/client did not initializ...
# orm-help
j
Copy code
error - Error: @prisma/client did not initialize yet. Please run "prisma generate" and try to import it again.
In case this error is unexpected for you, please report it in <https://github.com/prisma/prisma/issues>
is an error am getting in a nextjs app, but i dont know it
n
Hey 👋 Welcome to our community! You need to execute
npx prisma generate
command to initialize your PrismaClient. Are you executing the command?
j
yes, but it doesnt work either
e
Try adding
prisma
to devDependency ? That command will need that dependency. ex)
Copy code
yarn add -D prisma
j
i have that already
and the versions are the same with the client
n
Are you following these docs? https://www.prisma.io/nextjs