skip to Main Content

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.

2

Answers


  1. 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

    Login or Signup to reply.
  2. Run the following commands in project

    npm install prisma --save-dev
    
    npm install @prisma/client@dev prisma@dev
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search