Andrew Leung
05/11/2022, 4:53 PM<https://binaries.prisma.sh>
will hang until an ETIMEDOUT
error during a yarn install
My options are limited, and in parallel trying to figure out the network security on the jenkins env to figure out how to get past this issue, but in the meantime, I’m trying to understand how I can work around this by using Engine environment variables.Andrew Leung
05/11/2022, 4:56 PMbinaryTargets = [“native”, “rhel-openssl-1.0.x”]
This downloads the following binaries:
node_modules/prisma/engines/<somesha>/libquery_engine-darwin.dylib.node
and
node_modules/prisma/engines/<somesha>/libquery_engine-rhel-openssl-1.0.x.so.node
As I understand, these are library binaries.Andrew Leung
05/11/2022, 4:57 PM<https://binaries.prisma.sh>
because that is the culprit issue that hangs my yarn install
command. So my hope is that, by specifying the location of a locally downloaded binary, that the postinstall script will just ignore needing to download any of the binaries.Andrew Leung
05/11/2022, 4:59 PMrhel-openssl
binary right inside my repo in a prisma/engines
folder at the top level of my application.
So this means, I should set PRISMA_QUERY_ENGINE_LIBRARY=/path/to/app/prisma/engines/libquery_engine-rhel-openss-1.0.x.so.node
Andrew Leung
05/11/2022, 5:02 PMNurul
05/13/2022, 11:55 AMPRISMA_ENGINES_MIRROR
env variable?
https://www.prisma.io/docs/reference/api-reference/environment-variables-reference#prisma_engines_mirror