/root/midtrans/node_modules/midtrans-client/index.js
at Function._resolveFilename (node:internal/modules/cjs/loader:1249:15)
at Function._load (node:internal/modules/cjs/loader:1075:27)
at TracingChannel.traceSync (node:diagnostics_channel:315:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:218:24)
at Module.require (node:internal/modules/cjs/loader:1340:12)
at require (node:internal/modules/helpers:141:16)
at Object. (/root/midtrans/node_modules/midtrans-client/lib/SnapBi/snapBi.js:2:28)
at Module._compile (node:internal/modules/cjs/loader:1546:14)
at Object..js (node:internal/modules/cjs/loader:1689:10)
at Module.load (node:internal/modules/cjs/loader:1318:32) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/root/midtrans/node_modules/midtrans-client/lib/SnapBi/snapBi.js',
'/root/midtrans/node_modules/midtrans-client/SnapBiClient/index.js',
'/root/midtrans/node_modules/midtrans-client/index.js'
]
node:internal/modules/cjs/loader:1249 const err = new Error(message); ^ Error: Cannot find module './SnapBiApiRequestor' Require stack: