P
Prisma•6d ago
Tom

Hello I keep getting an error that I'm stuck on

/home/thomas/Dev-Academy-Backup/plover-brief-voting/node_modules/.prisma/client/default.js:43
throw new Error('@prisma/client did not initialize yet. Please run "prisma generate" and try to import it again.');
^

Error: @prisma/client did not initialize yet. Please run "prisma generate" and try to
import it again.
at new PrismaClient (/home/thomas/Dev-Academy-Backup/plover-brief-voting/node_modules/.prisma/client/default.js:43:11)
at file:///home/thomas/Dev-Academy-Backup/plover-brief-voting/lib/prisma.js:3:33
at ModuleJob.run (node:internal/modules/esm/module_job:271:25)
at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:547:26) at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:116:5)

Node.js v22.13
/home/thomas/Dev-Academy-Backup/plover-brief-voting/node_modules/.prisma/client/default.js:43
throw new Error('@prisma/client did not initialize yet. Please run "prisma generate" and try to import it again.');
^

Error: @prisma/client did not initialize yet. Please run "prisma generate" and try to
import it again.
at new PrismaClient (/home/thomas/Dev-Academy-Backup/plover-brief-voting/node_modules/.prisma/client/default.js:43:11)
at file:///home/thomas/Dev-Academy-Backup/plover-brief-voting/lib/prisma.js:3:33
at ModuleJob.run (node:internal/modules/esm/module_job:271:25)
at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:547:26) at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:116:5)

Node.js v22.13
2 Replies
Prisma AI Help
Prisma AI Help•6d ago
You selected to wait for the human sages. They'll share their wisdom soon. Grab some tea while you wait, or check out #ask-ai if you'd like a quick chat with the bot anyway!
Nurul
Nurul•5d ago
Hey 👋 I assume you would have already run npx prisma generate right? Can you elaborate on when exactly do you get this error?

Did you find this page helpful?