Ashishkumar Pandey
04/29/2022, 12:52 AMUnhandled Promise Rejection {"errorType":"Runtime.UnhandledPromiseRejection","errorMessage":"ReferenceError: require is not defined","reason":"ReferenceError: require is not defined","promise":{},"stack":["Runtime.UnhandledPromiseRejection: ReferenceError: require is not defined"," at process.<anonymous> (file:///Users/ashish/work/planet-marathi/api-v2/node_modules/@serverless-stack/aws-lambda-ric/lib/index.js:34:23)"," at process.emit (node:events:527:28)"," at emit (node:internal/process/promises:140:20)"," at processPromiseRejections (node:internal/process/promises:274:27)"," at processTicksAndRejections (node:internal/process/task_queues:97:32)"]}
thdxr
04/29/2022, 12:53 AMthdxr
04/29/2022, 12:54 AMAshishkumar Pandey
04/29/2022, 12:55 AMBrinsley
04/29/2022, 7:09 AMsst start
. Only just clocked a couple of months ago that you can debug the actual stack code - felt like a complete dumbass.Ashishkumar Pandey
04/29/2022, 11:30 AMAshishkumar Pandey
04/29/2022, 11:59 AMException has occurred: Error: ENOENT: no such file or directory, stat '/var/folders/ry/srxm3k_x4rdc0jz2fkhyc6tr0000gn/T/fnm_multishell_8535_1616444440508/bin/git'
at Object.statSync (node:fs:1551:3)
at Object.statSync (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js:312:16)
at Function.sync (/usr/local/lib/node_modules/npm/node_modules/isexe/mode.js:13:23)
at Function.sync (/usr/local/lib/node_modules/npm/node_modules/isexe/index.js:49:17)
at Function.whichSync [as sync] (/usr/local/lib/node_modules/npm/node_modules/which/which.js:104:26)
at Object.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/@npmcli/git/lib/which.js:5:19)
at Module._compile (node:internal/modules/cjs/loader:1099:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)