Skip to content
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

Upgrade to nodejs v12 #47

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

mglasgow
Copy link

This PR upgrades the sample project to support NodeJS v12 environment of AWS Lambda.

It now uses https://github.com/alixaxel/chrome-aws-lambda to manage the Chromium binary. chrome-aws-lambda goes to great effort to generate a binary for every version of Puppeteer. As a result, the version of puppeteer is no longer pinned to v1.3.0, but can now run the latest and greatest.

I have removed the locally managed binaries, as well as the option to download Chromium from S3. I personally don't use the S3 functionality, and if other people need it, I would steer them to the new Lambda Layers functionality. This project https://github.com/shelfio/chrome-aws-lambda-layer packages up the chrome-aws-lambda binary as an easy-to-use layer, if people are finding the size of the bundled Chromium binary in this starter-kit taking them over the 50mb Lambda package limit.

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

Successfully merging this pull request may close these issues.

1 participant