TypeError [ERR_INVALID_ARG_TYPE]: The "code" argument must be of type number. Received type string ('SIGTERM')
at process.set [as exitCode] (node:internal/bootstrap/node:124:9)
at process.exit (node:internal/process/per_thread:188:24)
at process. (/Users/Documents/code/p/demo-web-app/node_modules/.pnpm/@prisma+client@4.11.0_prisma@4.11.0/node_modules/@prisma/client/runtime/library.js:99:2170)
at Object.onceWrapper (node:events:626:26)
at process.emit (node:events:511:28) {
code: 'ERR_INVALID_ARG_TYPE'
}
I am getting this wired error on profile page not getting any clues.
node: internal/errors:490 ErrorCaptureStackTrace(err); ^
TypeError [ERR_INVALID_ARG_TYPE]: The "code" argument must be of type number. Received type string ('SIGTERM') at process.set [as exitCode] (node:internal/bootstrap/node:124:9) at process.exit (node:internal/process/per_thread:188:24) at process. (/Users/Documents/code/p/demo-web-app/node_modules/.pnpm/@prisma+client@4.11.0_prisma@4.11.0/node_modules/@prisma/client/runtime/library.js:99:2170)
at Object.onceWrapper (node:events:626:26)
at process.emit (node:events:511:28) {
code: 'ERR_INVALID_ARG_TYPE'
}
Node.js v20.1.0