Kay Khan
07/18/2022, 9:52 AMError: Get Config: Unable to establish a connection to query-engine-node-api library. It seems there is a problem with your OpenSSL installation!
Details: Unable to require(`/home/kay/checkpoint/nft-api/node_modules/@prisma/engines/libquery_engine-debian-openssl-1.1.x.so.node`)
libssl.so.1.1: cannot open shared object file: No such file or directory
Prisma CLI Version : 4.0.0
whereis node
node: /home/kay/.nvm/versions/node/v16.16.0/bin/node
whereis openssl
openssl: /usr/bin/openssl /home/linuxbrew/.linuxbrew/bin/openssl /usr/share/man/man1/openssl.1ssl.gz
any ideas?Nurul
07/18/2022, 12:11 PMbinaryTargets
in the generator block?
You could specify binaryTarget as debian-openssl-1.1.x
generator client {
provider = "prisma-client-js"
binaryTargets = ["native","debian-openssl-1.1.x"]
}
Kay Khan
07/18/2022, 12:12 PMKay Khan
07/18/2022, 12:12 PMKay Khan
07/18/2022, 12:12 PMKay Khan
07/18/2022, 12:12 PMKay Khan
07/18/2022, 12:12 PMbinaryTargets = ["native","debian-openssl-1.1.x"]
Nurul
07/18/2022, 12:16 PMKay Khan
07/18/2022, 12:21 PMKay Khan
07/18/2022, 12:21 PMKay Khan
07/18/2022, 12:21 PMKay Khan
07/18/2022, 12:22 PMNurul
07/18/2022, 12:28 PMNurul
07/18/2022, 12:29 PMapt
as mentioned in the comment?Kay Khan
07/18/2022, 12:29 PMKay Khan
07/18/2022, 12:29 PMKay Khan
07/20/2022, 12:10 PMKay Khan
07/20/2022, 12:10 PMKay Khan
07/20/2022, 12:11 PMKay Khan
07/20/2022, 12:11 PMKay Khan
07/20/2022, 12:12 PMKay Khan
07/20/2022, 12:12 PMKay Khan
07/20/2022, 12:12 PMKay Khan
07/20/2022, 12:13 PMNurul
07/20/2022, 12:13 PMKay Khan
07/20/2022, 12:15 PMKay Khan
07/20/2022, 12:16 PMKay Khan
07/20/2022, 12:16 PMNurul
07/20/2022, 12:16 PM