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 via `apt-get update -y && apt-get install -y openssl` and try installing Prisma again. If you're running Prisma on Docker, add this command to your Dockerfile, or switch to an image that already has OpenSSL installed. /usr/app/node_modules/@prisma/client/runtime/library.js:64 ${er(e)}`}var Gm=N("prisma:client:engines:resolveEnginePath"),Qm=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function ml(e,r){let t={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??r.prismaPath;if(t!==void 0)return t;let{enginePath:n,searchedLocations:i}=await Wm(e,r);if(Gm("enginePath",n),n!==void 0&&e==="binary"&&Ri(n),n!==void 0)return r.prismaPath=n;let o=await ir(),s=r.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Qm())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:r.generator,runtimeBinaryTarget:o,queryEngineName:fl(e,o),expectedLocation:St.default.relative(process.cwd(),r.dirname),errorStack:new Error().stack},p;throw a&&l?p=cl(c):l?p=ll(c):u?p=ul(c):p=pl(c),new P(p,r.clientVersion)}async function Wm(e,r){let t=await ir(),n=[],i=[r.dirname,St.default.resolve(__dirname,".."),r.generator?.output?.value??__dirname,St.default.resolve(__dirname,"../../../.prisma/client"),"/tmp/prisma-engines",r.cwd];__filename.includes("resolveEnginePath")&&i.push(ms());for(let o of i){let s=fl(e,t),a=St.default.join(o,s);if(n.push(o),dl.default.existsSync(a))return{enginePath:a,searchedLocations:n}}return{enginePath:void 0,searchedLocations:n}}function fl(e,r){return e==="library"?Gt(r,"fs"):`query-engine-${r}${r==="windows"?".exe":""}`}function gl(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,r=>`${r[0]}5`):""}function hl(e){return e.split(` ^ PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x". This is likely caused by tooling that has not copied "libquery_engine-debian-openssl-1.1.x.so.node" to the deployment folder. Ensure that you ran `prisma generate` and that "libquery_engine-debian-openssl-1.1.x.so.node" has been copied to "dist/generated/prisma". We would appreciate if you could take the time to share some information with us. Please help us by answering a few questions: https://pris.ly/engine-not-found-tooling-investigation⁠ The following locations have been searched: /usr/app/dist/generated/prisma /usr/app/node_modules/@prisma/client /usr/app/src/generated/prisma /usr/app/node_modules/.prisma/client /tmp/prisma-engines /usr/app/prisma at ml (/usr/app/node_modules/@prisma/client/runtime/library.js:64:805) at async Object.loadLibrary (/usr/app/node_modules/@prisma/client/runtime/library.js:111:7998) at async Qr.loadEngine (/usr/app/node_modules/@prisma/client/runtime/library.js:112:448) at async Qr.instantiateLibrary (/usr/app/node_modules/@prisma/client/runtime/library.js:111:11901) at async Qr.start (/usr/app/node_modules/@prisma/client/runtime/library.js:112:2155) at async start (/usr/app/dist/index.js:10:5) { clientVersion: '6.19.2', errorCode: undefined, retryable: undefined } Node.js v24.14.0