-
-
Notifications
You must be signed in to change notification settings - Fork 282
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
Unable to start Chrome in NodeJS10.x #203
Comments
also would love to see a working amazon linux 2 build! @adieuadieu would be greatly in your debt if you could release binaries for amazon linux 2 along side the others! |
Also getting this. |
I did quite some investigation around this, see alixaxel/chrome-aws-lambda#37 Seems like the only sensible approach is to have an additional Lambda Layer for needed dependencies. |
Same. please help. |
@erdahuja I've recently published a new version of my package that is compatible with Node 10. It doesn't need a layer, and there are some issues explaining how to run it with serverless. |
What's the version number exactly? I guess i might have tried with latest one only (4 days) ago. I am facing a deadlock of compatibility between chrome binary, puppeteer, serverless and aws lambda. No combination/approach seems to work! and aws rejecting to build the working function on node6x |
@erdahuja 2.0.0 - I don't provide support for serverless configurations, but perhaps this helps. Also, you should use Node 10 - Node 6 and 8 have been or will be discontinued by AWS. |
I tried, node 10x, it gets worse. My project is now halted, unable to create new builds. Also, i tried by fixing the https://github.com/adieuadieu/serverless-chrome/pull/200/files #92, Finally this issue prevails {socket hang up} |
I'm experiencing this issue with the latest |
I am also running into this issue, v1.0.0-55.3. Anyone able to give us some direction here? |
Does this currently work with Node8? I'm trying to get a real basic example working with Serverless & Puppeteer, but I keep hitting this issue. |
It works with node v8 locally at least. For v12 I get this error:
But when I run serverless deploy with v8.10 I get an error that lambdas no longer support Node v8. UPDATE: Sorry, I was using v12.7 and it should be v12.x. @jamesopti - Lambda no longer supports v8:
|
Yikes - That's a bummer. Whats the last known good version of this plugin that I can deploy with Node v10? Or does that not exist? |
@elie222 - I found this and it worked perfectly right out of the box - https://github.com/alixaxel/chrome-aws-lambda |
Any "actual" solution for this? |
Yes. This would be very nice to actually see the steps in format 1,2,3,4 |
I am experiencing this issue as well:"Error: Unable to start Chrome", any solution for this? @adieuadieu |
Why closing this without any solution ? |
This is so pointless that the issue has got closed before getting resolved |
I an running into the error "Unable to start Chrome" when running on Lambda with NodeJS10. Seems the system fails to due to this error:
error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory
.With the update to NodeJS10, Amazon included an update to "Amazon Linux 2", which is likely the cause of this issue.
AWS Lambda NodeJS10 article: https://aws.amazon.com/about-aws/whats-new/2019/05/aws_lambda_adds_support_for_node_js_v10/
In case it helps, here are my full logs:
The text was updated successfully, but these errors were encountered: