npmopenssl95% confidence\u2191 21

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

Full error message
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.

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

API access

Get this solution programmatically \u2014 free, no authentication.

curl https://depscope.dev/api/error/da0fc924121f8a2312118629d0f7b8ea3fd528fb462f231e2d704a18cce61e1b
hash \u00b7 da0fc924121f8a2312118629d0f7b8ea3fd528fb462f231e2d704a18cce61e1b
Unknown binaryTarget debian-openssl-3.0.x and no custom bina… — DepScope fix | DepScope