question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: Unable to start Chrome

See original GitHub issue

In AWS lambda I get this message. I can add the DEBUG variable soon to get more information.

{
  "errorType": "Error",
  "errorMessage": "Unable to start Chrome. If you have the DEBUG env variable set,there will be more in the logs.",
  "trace": [
    "Error: Unable to start Chrome. If you have the DEBUG env variable set,there will be more in the logs.",
    "    at /var/task/node_modules/@serverless-chrome/lambda/dist/bundle.cjs.js:376:13",
    "    at Generator.throw (<anonymous>)",
    "    at step (/var/task/node_modules/@serverless-chrome/lambda/dist/bundle.cjs.js:311:193)",
    "    at /var/task/node_modules/@serverless-chrome/lambda/dist/bundle.cjs.js:311:404",
    "    at processTicksAndRejections (internal/process/task_queues.js:97:5)"
  ]
}

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:6
  • Comments:6

github_iconTop GitHub Comments

6reactions
lifesaverlukecommented, Nov 5, 2021

I’ve pre-compiled Lambda layers for various stable Chromium versions that work on AWS Lambda (they include the .so file mentioned above). They are available for download here.

2reactions
nealshailcommented, Jun 2, 2021

+1 here too, I’m getting a message

libnss3.so: cannot open shared object file
Read more comments on GitHub >

github_iconTop Results From Across the Web

Why Won't Google Chrome Open? 4 Ways to Troubleshoot
4 ways to troubleshoot Google Chrome if it won't open on your computer · 1. Press "Ctrl" + "Alt" + "Del" on your...
Read more >
Fix Chrome won't open or launch on Windows 11/10 PC
1] Kill Chrome from Task Manager · Under “Processes,” look for “Google Chrome” or “chrome.exe.” · Right-click and select End process. · Try ......
Read more >
Top 5 Ways to Fix Chrome Side-by-Side Configuration Is ...
Top 5 Ways to Fix Chrome Side-by-Side Configuration Is Incorrect in Windows · 1. Run System File Checker · 2. Repair Google Chrome...
Read more >
Chrome Won't Open or Launch [SOLVED] - TechCult
In order to check if Chrome is already running, press Ctrl + Shift + Esc to open Task Manager, then find Chrome.exe and...
Read more >
Google Chrome Not Opening: How to Fix? - Techbout
Can't Open Google Chrome · 1. End Chrome Processes Using Task Manager · 2. Open Chrome Browser in Safe Mode · 3. Delete...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found