Pieter
06/13/2022, 11:13 AMPieter
06/13/2022, 11:16 AMCOPY
command does not find it if we try and copy from the symlink location (node_modules/@prisma
) so I tried doing a full on builder
and runner
docker image, but when I try to generate the prisma schema inside docker, I get an error in prisma generate
of unexpected token in JSON unknown char l
What's up with that? I can see the schema is being read correctly when I do cat schema.prisma
Pieter
06/13/2022, 11:17 AMjanpio
janpio
janpio
Pieter
06/13/2022, 11:23 AMPieter
06/13/2022, 11:25 AMRichard Ward
06/13/2022, 11:41 AMoutput
to the `generator client`:
generator client {
provider = "prisma-client-js"
output = "../node_modules/.prisma/client"
}
Richard Ward
06/13/2022, 11:43 AMPieter
06/13/2022, 2:47 PMjanpio
generate
.janpio