PrismaP
Prisma2y ago
1 reply
Fr0xy

Prisma migrate deploy doing modification in node_modules after upgrading prisma

Hello, I have updated prisma from 5.17 to 5.18
I have doing npx prisma migrate deploy in a docker image with limited right
In 5.17 i had no issue doing this but after upgrading to 5.18 i have this error:
Error: Can't write to /home/node/node_modules/@prisma/engines please make sure you install "prisma" with the right permissions.
I can't allow my user node to do modifications inside node_modules and i don't understand why this command is now doing writes
Look like this is a breaking change

Here is the dockerfile
Was this page helpful?