Prisma Client Docker Build errors
NorkzYT opened this issue · comments
Hello,
I have tried using the docker-compose.yml
, and Dockerfile
example, and none have worked even though the prisma generate
command is ran.
Docker container output log
Error: @prisma/client did not initialize yet. Please run "prisma generate" and try to import it again.
In my package.json
I have the following versions of Prisma.
"@prisma/client": "^4.7.1",
"prisma": "^4.7.1",
Could the aforementioned Prisma version be causing the issue?
Is Prisma version v4.0.0 the only version that is currently compatible?
If possible, could I get help on this?
Stale issue. Not being worked on and later versions of Prisma resolved the issue.