-
-
Notifications
You must be signed in to change notification settings - Fork 281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: spawn /var/task/node_modules/@serverless-chrome/lambda/dist/headless-chromium EACCES #288
Comments
I'm getting the same issue trying to test out of the box deployment of the screenshot function:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Headless Chrome running on AWS Lambda with Google lighthouse
Thank you for your detailed blog post about headless Chrome running on AWS Lambda.
https://medium.com/@marco.luethy/running-headless-chrome-on-aws-lambda-fa82ad33a9eb
I would like to use your 'serverless-chrome' npm package to run Google lighthouse on a Lambda instance.
Locally it's working perfectly, but after deploying I get the following error, when I call my Lambda function:
According to the AWS docs, this problem occurs when files don't have the required permissions set.
https://aws.amazon.com/premiumsupport/knowledge-center/lambda-deployment-package-errors/
'Issues with incorrect permissions are common for packages generated by continuous integration applications. If the security permissions set for your Lambda deployment package .zip or .jar file are incorrect, you get an error when you try to upload the file. Lambda requires global read permissions on code files and any dependent libraries in your deployment package.'
I'm not working on Linux, so I can't try the suggested fix. If you have a solution for this, please let me know.
The text was updated successfully, but these errors were encountered: