athena-express icon indicating copy to clipboard operation
athena-express copied to clipboard

EACCES: permission denied, open '/var/task/index.js

Open tbeaudouin05 opened this issue 4 years ago • 1 comments

I have this issue when trying to use your package on aws lambda:

EACCES: permission denied, open '/var/task/index.js

this solution does not work: https://aws.amazon.com/premiumsupport/knowledge-center/lambda-deployment-package-errors/

because it yields another error on the cli: chmod: fts_open: File name too long

tbeaudouin05 avatar Apr 03 '20 10:04 tbeaudouin05

Were you unable to run the program locally on your machine? The error above indicates that node_modules folder was not included in the package uploaded to Lambda.

ghdna avatar Apr 05 '20 20:04 ghdna