Skip to content
This repository has been archived by the owner on Jul 24, 2019. It is now read-only.

Integration in AWS Lambda service #704

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ClementKerneur
Copy link

Hi,
I propose an Compatibility layer for run phantomjs in AWS Lambda functions.

@Andriy-Kulak
Copy link

hi @ClementKerneur . Did you get phantom to work on Lambda? I am trying to generate PDFs in lambda with html-pdf library which relies on phantom.js.

I am trying to follow your code in lib/phantom.js but I have trouble understanding your adjustments. Can you please explain in more detail on how you got yours working?

@ClementKerneur
Copy link
Author

hi @Andriy-Kulak
Sorry for late
Lambda functions are executed on their own distribution "Linux Amazon (AMI)"
Ideally if you want run binaries : you have to execute the npm install command into the same environnement than your lambda function.

Do you have an example of your code with html-pdf, i would like to compile and test with the best conditions.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants