Typegraphql-prisma: Permission denied
qlaffont opened this issue · comments
Describe the Bug
Impossible to run typegraphql-prisma on github actions
To Reproduce
https://github.com/flexper/starter-api
Expected Behavior
To work
Logs
https://github.com/flexper/starter-api/actions/runs/4208133736/jobs/7303791102
Additional Context
Add any other context about the problem here.
Does it happen on an earlier version of typegraphql-prisma
or it's your first try to run it on github actions?
It was working before if you check on CI history of master branch
It was working until this commit who update prisma + typegraphql + prisma-field-encryption
qlaffont/starter-api@b8e3ffe
Nothing changed for the last 1-2 year in the generator architecture / cli, so this might be related to some changes on Prisma side.
Does it also happen to other prisma generator or your prisma ones?
The very strange thing is I can't reproduce the issue on my laptop.
Maybe it's due to .npmrc changes too.
But as I see on the logs, it starts directly on typegraphql-prisma before prisma client
So I can't answer your question :/
I mean that maybe Prisma has changed the way of invoking third-party generators, so you should report the issue on their repo in that case.
fixed issue with pnpm pnpm/pnpm#5890