ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: line 9: /activate: No such file or directory
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: line 10: /set_env_vars.py: No such file or directory
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: line 12: /usr/bin/node: No such file or directory
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: line 9: /activate: No such file or directory
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: line 10: /set_env_vars.py: No such file or directory
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: line 12: /usr/bin/node: No such file or directory
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: line 9: /activate: No such file or directory
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: line 10: /set_env_vars.py: No such file or directory
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: line 12: /usr/bin/node: No such file or directory
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: line 9: /activate: No such file or directory
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: line 10: /set_env_vars.py: No such file or directory
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: line 12: /usr/bin/node: No such file or directory
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: fork: Resource temporarily unavailable
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: line 9: /activate: No such file or directory
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: line 10: /set_env_vars.py: No such file or directory
/home/thesmart/nodevenv/api.thesmartpos.in/20/bin/node: line 12: /usr/bin/node: No such file or directory
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:185:13)
    at wrappedValidations.<computed> [as xForwardedForHeader] (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:397:22)
    at Object.keyGenerator (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:658:20)
    at /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:710:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/express-rate-limit/dist/index.cjs:691:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}
/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64
${et(e)}`}var zd=L("prisma:client:engines:resolveEnginePath"),Yd=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function za(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zd(e,t);if(zd("enginePath",n),n!==void 0&&e==="binary"&&li(n),n!==void 0)return t.prismaPath=n;let o=await nt(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yd())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Ya(e,o),expectedLocation:Er.default.relative(process.cwd(),t.dirname),errorStack:new Error().stack},p;throw a&&l?p=Wa(c):l?p=Qa(c):u?p=Ja(c):p=Ha(c),new R(p,t.clientVersion)}async function Zd(engineType,config){let binaryTarget=await nt(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Er.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Er.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(Yo());for(let e of searchLocations){let t=Ya(engineType,binaryTarget),r=Er.default.join(e,t);if(searchedLocations.push(e),Ka.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Ya(e,t){return e==="library"?qr(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}var Hi=k(bi());function Za(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Xa(e){return e.split(`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x".

This happened because Prisma Client was generated for "debian-openssl-1.0.x", but the actual deployment required "debian-openssl-1.1.x".
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

The following locations have been searched:
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/.prisma/client
  /home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client
  /tmp/prisma-engines
  /home/thesmart/api.thesmartpos.in/prisma
    at za (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:64:805)
    at async Object.loadLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:10084)
    at async _r.loadEngine (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:112:448)
    at async _r.instantiateLibrary (/home/thesmart/nodevenv/api.thesmartpos.in/20/lib/node_modules/@prisma/client/runtime/library.js:111:12599) {
  clientVersion: '5.22.0',
  errorCode: undefined
}

Node.js v20.19.4
