Open mikan3rd opened 3 years ago
Are you able to create files/directories by node.js in docker? Check in docker: node fs.writeFileSync('foo.txt', '') fs.mkdirSync('bar')
It is hard to say what is the problem (error is very general), maybe something related to permissions or disk.
@unlight I ran the command you gave me and was able to create the files and directories without any problems.
yarn prisma generate
succeeds in the local environment, but fails with the following error when run in Docker.Strictly speaking,
yarn prisma generate
written in Dockerfile withdocker-compose build
succeeds, but it fails when I login to Docker afterdocker-compose up -d
and run the same command.It also succeeds when
generator nestgraphql
in schema.prisma is removed.All log of command executions
PS I am managing multiple packages with monorepo using yarn workspace.