If anybody has any idea on how to set this properl...
# orm-help
g
If anybody has any idea on how to set this properly, please let me know
e
Hi @Gustavo Adolfo López, I think you can use environment by using something like
binaryTargets=[env(PRISMA_BINARY_TARGETS)]
Note that if you are using version 2.22, you can do something like this in CLI: ``PRISMA_BINARY_TARGETS=native yarn prisma generate` If you are on version 2.26, you might have to do this:
PRISMA_BINARY_TARGETS='[\"native\"]' yarn prisma generate
( Not sure if this is a bug or not, I have posted a question here )
r
Another way would be is to remove the binary as a post-build step before deploying the Lambda.