First of all let me say that this is a great project and and I have managed to get this working on an independent machine.
However, in the context of the Lambda function it doesn't seem to work. The output does not get created. The input file size about 100kb and I have allocated the recommended RAM and the timeout values. Following is the error I get:
{
"StatusCode": 200,
"FunctionError": "Handled"
}
{"errorMessage":"ENOENT: no such file or directory, open '/tmp/${outputFilename}'","errorType":"Error","stackTrace":["Object.fs.openSync (fs.js:646:18)","fs.readFileSync (fs.js:551:33)","exports.handler (/var/task/code.js:19:28)","","process._tickDomainCallback (internal/process/next_tick.js:228:7)"]}
First of all let me say that this is a great project and and I have managed to get this working on an independent machine.
However, in the context of the Lambda function it doesn't seem to work. The output does not get created. The input file size about 100kb and I have allocated the recommended RAM and the timeout values. Following is the error I get: { "StatusCode": 200, "FunctionError": "Handled" } {"errorMessage":"ENOENT: no such file or directory, open '/tmp/${outputFilename}'","errorType":"Error","stackTrace":["Object.fs.openSync (fs.js:646:18)","fs.readFileSync (fs.js:551:33)","exports.handler (/var/task/code.js:19:28)","","process._tickDomainCallback (internal/process/next_tick.js:228:7)"]}
Any pointers or help is greatly appreciated.