Open SSL in IDX PROJECT

Dear IDX community, I want it to push my prisma db I got this Error message : prisma:warn Prisma failed to detect the libssl/openssl version to use, and may not work as expected. Defaulting to "openssl-1.1.x". Please manually install OpenSSL and try installing Prisma again. Environment variables loaded from .env Prisma schema loaded from prisma/schema.prisma Datasource "db": MongoDB database at "cluster0.igctlmy.mongodb.net" Error: Schema engine error:
How to provide or install OPENSSL in my project through IDX Cloud development.

2 Likes

Hey! You can add it as a Nix package like below:

{ pkgs, ... }: {
  # Which nixpkgs channel to use.
  channel = "stable-23.11"; # or "unstable"
  # Use https://search.nixos.org/packages to find packages
  packages = [
    pkgs.openssl.dev
  ];

You can also take a look at this post as well:

4 Likes

Thank’s for your help Sir, it’s working :fire:

2 Likes