node-export-server icon indicating copy to clipboard operation
node-export-server copied to clipboard

AWS Lambda tmp dir

Open DmitryRibalka opened this issue 7 months ago • 1 comments

Hello, I have issue with v5 on aws lambda.

It tries to create cache directory relating to the code and throws the error:

"errorMessage": "ENOENT: no such file or directory, mkdir '/var/task/node_modules/highcharts-export-server/tmp/.cache'",

despite setting HIGHCHARTS_CACHE_PATH to absolute path /tmp/.cache

How can i configure it?

Thanks.

DmitryRibalka avatar Apr 30 '25 19:04 DmitryRibalka

Hi @DmitryRibalka,

Unfortunately, setting an absolute path isn't supported at the moment. However, there's already a PR that addresses this issue. We’ll aim to merge it soon.

PaulDalek avatar May 30 '25 15:05 PaulDalek