Eric Kreis
07/20/2022, 5:19 PMEric Kreis
07/20/2022, 5:28 PMprisma client 4.0.0
and a teammate uses an Apple Silicon M1 PRO processor. He can't run npx prisma generate
because we can't specify the correct binary target
for the M1 architecture.
Does anyone know what we can do?Austin
07/20/2022, 6:44 PMEric Kreis
07/20/2022, 7:55 PMbinary target
. I noticed that when he tried to run npx prisma generate
while sharing the screen. I'm waiting for his reply to share here.Eric Kreis
07/21/2022, 3:53 PMbinary target
because we're using another architecture to run the application with Docker
. In addition, we've bound the node_modules
folder with Docker Compose
and, consequently, we've bound the Prisma Client
.Austin
07/21/2022, 6:14 PMEric Kreis
07/21/2022, 6:20 PM["native", "darwin", "debian-openssl-1.1.x", "linux-musl"]
Eric Kreis
07/21/2022, 6:24 PMlinux-arm64-undefined
on terminal.Eric Kreis
07/21/2022, 6:25 PMnode:16.15.1-alpine3.14
Austin
07/21/2022, 6:30 PMprisma generate
in the container or on his local machine?Eric Kreis
07/21/2022, 6:31 PMAustin
07/21/2022, 6:41 PMEric Kreis
07/21/2022, 6:57 PMAustin
07/21/2022, 7:00 PMEric Kreis
07/24/2022, 11:27 PM.sh
file which is running as entrypoint that contains the npx prisma generate
Eric Kreis
07/24/2022, 11:28 PMAustin
07/25/2022, 4:47 PMEric Kreis
07/25/2022, 5:23 PM