PrismaP
Prisma6mo ago
4 replies
byrne

.prisma directory no longer exists in node_modules with prisma-client-js generator

Hi, I upgraded from Prisma 6.10.1 to 6.14.0 but maintained my generator as prisma-client-js

However, I noticed that the
.prisma
directory in
node_modules
no longer exists. I needed this for use in my monorepo for getting type support in my frontend apps with Vite. I had this in my Vite config:
".prisma/client/index-browser": resolve(
__dirname,
"../../node_modules/.prisma/client/index-browser.js",
),

Has this been moved? How can I maintain this functionality without moving to the new generator? Thanks!
Was this page helpful?