Open ClementKerneur opened 7 years ago
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?
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.
Hi, I propose an Compatibility layer for run phantomjs in AWS Lambda functions.