P
Prisma•2mo ago
Navagram

`npx prisma init` not working. Open bug?

---> npx prisma init (node:64792) ExperimentalWarning: Support for loading ES Module in require() is an experimental feature and might change at any time (Use node --trace-warnings ... to show where the warning was created) Error: (0 , DSe.isError) is not a function Everytime I run the npx prisma init command it slaps me with that error : ( Is this related to these issues: https://github.com/prisma/prisma/issues/2359 https://github.com/prisma/prisma/issues/13672 That are still open? Any idea for a work around?
GitHub
Code completion / auto imports / CTRL clicking to props breaks in ....
Bug description I'll be honest, this one is a very frustrating one. More of a developer experience issue than anything else. I don't know how else to give info on this other than I'm us...
GitHub
Module '"@prisma/client"' has no exported member 'PrismaClient'.ts(...
Bug description I tried to use pnpm in my proj but it seems it does not work I see this two issues too but none of them helped: #2584 #7484 How to reproduce Clone the repo: https://github.com/kasir...
4 Replies
Navagram
NavagramOP•2mo ago
I downgraded to the LTS node version. And that resolved the issue. It seems like prisma does not work the latest version of nodejs
Nurul
Nurul•2mo ago
Hey @Navagram 👋 Thanks for letting us know that using LTS node version fixed the issue for you. Were you using Nodejs V23?
Navagram
NavagramOP•2mo ago
Yes : ) I think the issue could be related to the experimental feature with ES modules that NodeJs V3 is running
Nurul
Nurul•2mo ago
I think so too!
Want results from more Discord servers?
Add your server