opensslprisma

Unknown binaryTarget debian-openssl-3.0.x and no custom binaries were provided error Command failed with exit code 1


Is there any way I can solve this problem? I recently updated to Ubuntu 22.04 Getting the problem while using Prisma.I can't run my project. I have use "@prisma/client": "2.20.1"

Error: Unknown binaryTarget debian-openssl-3.0.x and no custom binaries were provided error Command failed with exit code 1.


Solution

  • You need to upgrade your prisma version to atleast 3.13.0. Prisma has added support for OpenSSL 3.0 from version 3.13.0, Ubuntu 22.04 is using OpenSSL 3.0 by default which is causing this issue for you.

    Related GitHub Issue: Support OpenSSL 3.0