many-salesmen-89069
09/24/2021, 4:11 PMerror: Error serializing '() => provider': index.js(28,47)
'() => provider': index.js(28,47): captured
variable 'provider' which indirectly referenced
function 'S3UploadResourceProvider': s3Upload.ts(77,15): which referenced
function 'create': s3Upload.ts(138,10): which referenced
function 'uploadDirectoryToS3': s3Upload.ts(58,28): which referenced
function 'getFiles': s3Upload.ts(28,17): which captured
variable 'promises_1' which indirectly referenced
function 'readdir': which referenced
function 'getOptions': which captured
'ERR_INVALID_ARG_TYPE', a function defined at
function 'NodeError': which referenced
function 'isErrorStackTraceLimitWritable': which captured
'ObjectGetOwnPropertyDescriptor', a function defined at
function 'getOwnPropertyDescriptor': which could not be serialized because
it was a native code function.
Function code:
function getOwnPropertyDescriptor() { [native code] }
Would appreciate any ideas on how to work around this 🙂billowy-army-68599
many-salesmen-89069
09/24/2021, 4:36 PMbillowy-army-68599
many-salesmen-89069
09/24/2021, 4:38 PMcurved-pharmacist-41509
09/25/2021, 4:05 AMmany-salesmen-89069
09/28/2021, 9:37 AM