I see. Does it provide a temp where you can write? I guess you can reach the same problems when running the AWS Lambda function.
Please try to read through the tutorial here
https://jsreport.net/learn/aws-lambda-serverless

In particular, check this config which disables writing to logs or redirects the writes to the temp
https://github.com/jsreport/jsreport-aws-lambda-starter-kit/blob/master/prod.config.json