PRISMA_ENGINES_MIRROR and BINARY_DOWNLOAD_VERSION env variables don't work when npm install #25433
Labels
bug/1-unconfirmed
Bug should have enough information for reproduction, but confirmation has not happened yet.
domain/client
Issue in the "Client" domain: Prisma Client, Prisma Studio etc.
kind/bug
A reported bug.
topic: engine download
Bug description
PRISMA_ENGINES_MIRROR
andBINARY_DOWNLOAD_VERSION
env variables don't work when npm install.How to reproduce
.env
:rm -rf node_modules && DEBUG="prisma:*" npm i --foreground-scripts
:Expected behavior
https://oceanbase-prisma-builds.s3.ap-southeast-1.amazonaws.com
instead ofhttps://binaries.prisma.sh
.96fa66f2f130d66795d9f79dd431c678a9c7104e
instead of06fc58a368dc7be9fbbbe894adf8d445d208c284
.Prisma information
npx prisma debug
can load correct env:Environment & setup
Prisma Version
The text was updated successfully, but these errors were encountered: