yarn run v1.22.5 s2media_server    | $ yarn prisma...
# orm-help
s
yarn run v1.22.5 s2media_server    | $ yarn prisma:generate && yarn dev s2media_server    | $ npx prisma generate s2media_server    | Environment variables loaded from .env s2media_server    | Prisma schema loaded from prisma/schema.prisma s2media_server    | Error: Can't write to /app/node_modules/prisma please make sure you install "prisma" with the right permissions. s2media_server    | npm notice s2media_server    | npm notice New major version of npm available! 7.7.6 -> 8.1.4 s2media_server    | npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.1.4> s2media_server    | npm notice Run 
npm install -g npm@8.1.4
 to update! s2media_server    | npm notice s2media_server    | error Command failed with exit code 1. s2media_server    | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. s2media_server    | error Command failed with exit code 1. s2media_server    | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. I am getting this error all of a sudden, and I have no clue what's wrong with Prisma, I am using 
docker-compose
here is the repo I am working on https://github.com/sairaj2119/s2media can someone help me
r
Your Dockerfile looks fine. Could you try it with Node 14 instead of 15?
s
I have no idea why, but changing node version to 14 solved the issue
But I reproduced the same issue in a separate project and everything worked with node-15 too
Do you know any specific reason why node-15 is throwing that error, nevertheless Thank You for suggestion
r
I would suggest sticking to the LTS versions like 14 or 16 in this case.
s
ya got it
👍 1