-
-
Notifications
You must be signed in to change notification settings - Fork 76
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
[BUG]: Error: Failed to launch the browser process! #27
Comments
Same here, did you got it working? |
You might be able to enable debug mode in puppeteer to see what the exact problem is https://pptr.dev/guides/debugging/#log-devtools-protocol-traffic |
I have this same problem. Also followed the steps in the doc.
|
Just to make sure, you are using the standard node lambda, not the graviton lambda? Will someone post a complete example with SAM/SLS code also? |
Same error, both locally and on the AWS. Something's wrong with the chromium binary. Locally getting:
Also, the |
Are you running on ARM? Yes, puppeteer-core or playwright are required dependencies, but I don't package them with the app like chrome-aws-lambda did. |
I falled back to |
Ah and no, I'm running on Intel. |
I'm getting very similar issue although with slightly more detail in the AWS Lambda log
Missing shared libraries in the lambda runtime environment? I believe Readme says this should be usable with node18. Not sure what I am doing wrong? |
I have the same problem.
Error Message
|
Update to my previous post about this issue. |
I was able to change some settings and fix this error. |
Great! I'm about ready to publish some changes that will help take more of the guess work out of using the layer. Unfortunantly, arm support is still a bit off. The OS that runs Lambda is amazonlinux2 which is very out of date on a few things. I'm tracking the changes to amazonlinux2022 and when Lambda switches to it, arm support will be very close behind. |
@twistypigeon Would you mind sharing how you rebuilt your chromium package? I'm currently encountering the same issue as you with the exact same package versions. Thank you! |
Im also getting this same error:
I use
|
Any update on this ? |
The two issues in this thread have been fixed (arm vs x86, and trouble with the layer). If you are having problems, please open a new issue with enough information to troubleshoot. |
@twistypigeon hey champ, sorry to necro an old post here but I wanted to ask if by rebuilding your chromium layer, you mean rebuilding it for AWS Layers, or you are building the chromium app yourself for the right architecture? Me and my team are blocked from releasing changes right now due to getting this error upstream (on a serverless lambda) but cannot seem to reproduce it locally |
Environment
chromium
Version: 106puppeteer
/puppeteer-core
Version: 18.2Expected Behavior
Should work.
Current Behavior
Steps to Reproduce
Followed same steps as in doc
Possible Solution
Any guide to debug ? Also, I am using Typescript.
The text was updated successfully, but these errors were encountered: