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

pin puppeteer version to v1.3.0, to match the bundled headless chrome v67 #45

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

Conversation

mglasgow
Copy link

@mglasgow mglasgow commented Apr 1, 2019

I downloaded a fresh copy of this starter kit and tried to run it. In AWS, it timed out. Puppeteer versions later than 1.3.0 expect a more recent version of chrome than the v67 that is bundled in the repo at the moment. This mismatch of puppeteer version causes the starter kit to appear to hang on the page.newPage() call.

By pining the version to v1.3.0 of puppeteer, the starter kit works again.

I am going to create some more pull requests next to upgrade the starter kit to nodejs v8.10, now that v6.10 on AWS Lambda will be end of life by 30 April 2019. Reference: apex/up#763.

I will also create a pull request to use the chrome binary from https://github.com/alixaxel/chrome-aws-lambda, as this binary is created in lock-step with puppeteer releases specifically for AWS lambda.

I'm breaking these changes up into multiple pull requests to keep them small and easy to comprehend.

@mglasgow mglasgow changed the title fix puppeteer version to v1.3.0, to match the bundled headless chrome v67 pin puppeteer version to v1.3.0, to match the bundled headless chrome v67 Apr 1, 2019
@juancarlosqr
Copy link

It can be fixed until version 1.11.0. Just commenting for people facing this issue. More info about it puppeteer/puppeteer#1409

@mglasgow
Copy link
Author

My latest PR upgrades support for nodejs v12, and as a result can use any puppeteer version available. See #47

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.

2 participants