Prisma init
npx prisma init
Error: Cannot find module '/var/folders/sy/cvxrc_pj4tgdnvnyvrws1n6c0000gn/T/@prisma/cli-init@latest-1747852200000/node_modules/@prisma/cli-init/dist/index.js'
16 Replies
You decided to hold for human wisdom. We'll chime in soon! Meanwhile,
#ask-ai
is there if you need a quick second opinion.thanks for the report! If you try
npx prisma@latest init
does it work?yes.. it gives the same error
@Jon Harrell

hm ok. Which version of prisma are you using in your project?
6.8.2
Today in my interview... while setting up prisma... this error came and can't even setup it
Maybe my bad luck
Do you get an error message if you use
npm prisma init
?prisma being dev depedency
please copy/paste if possible

Is this similar to your issue? https://github.com/prisma/prisma/issues/27234
GitHub
npx prisma init command is not working · Issue #27234 · prisma/pr...
Bug description npx prisma init Error: Cannot find module '/var/folders/sy/cvxrc_pj4tgdnvnyvrws1n6c0000gn/T/@prisma/cli-init@latest-1747852200000/node_modules/@prisma/cli-init/dist/index.js'...
yes
GitHub
prisma init not working · Issue #27202 · prisma/prisma
Bug description I am following the doc for integrating the prisma with nextjs. when I run this command pnpm dlx prisma init --db --output ./generated/prisma Here is the error log Error: Cannot find...
please add a 👍 reaction to that issue and see if the workarounds suggested work!
let me try
solved @Jon Harrell
fantastic