Use statically linked prisma binary (linux-static-x64)

I want to use a staticailly linked binary (linux-static-x64) but it doesn't work as I'm getting this error:
45.22 Error: Failed to fetch sha256 checksum at https://binaries.prisma.sh/all_commits/5dbef10bdbfb579e07d35cc85fb1518d357cb99e/linux-static-x64/libquery_engine.so.node.gz.sha256 - 404 Not Found
45.22 Error: Failed to fetch sha256 checksum at https://binaries.prisma.sh/all_commits/5dbef10bdbfb579e07d35cc85fb1518d357cb99e/linux-static-x64/libquery_engine.so.node.gz.sha256 - 404 Not Found
The Go client uses that static binary, but apparently with the JS client it uses the http binary not the embedded binary which doesn't seem to exist as a static variant :/
2 Replies
Nurul
Nurul•3d ago
Hello @Luca (steebchen) 👋 If I understand correctly, you are running into this exact issue right? https://github.com/prisma/prisma/issues/23248
GitHub
npm ci with PRISMA_CLI_BINARY_TARGETS=linux-static-x64 fails wi...
Bug description Running PRISMA_CLI_BINARY_TARGETS=linux-static-x64 npm ci (or npm install) prints a scary error message when @prisma/client is a dependency in package.json. The reason seems to be t...
Luca (steebchen)
Luca (steebchen)OP•2d ago
Ah yep that looks like the same issue Thanks will follow that issue
Want results from more Discord servers?
Add your server