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 while loading shared libraries: libX11-xcb.so.1: cannot open shared object file: No such file or directory

See original GitHub issue

Hi, A project with NodeJS latest version with express. In localhost is everything fine and working perfectly, but when I deploy on Heroku and try to run the function I get this error.

Failed to launch the browser process! /app/node_modules/node-html-to-image/node_modules/puppeteer/.local-chromium/linux-722234/chrome-linux/chrome: error while loading shared libraries: libX11-xcb.so.1: cannot open shared object file: No such file or directory

Its something chromium related, do you have any fix for this?

thanks

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:15 (7 by maintainers)

github_iconTop GitHub Comments

4reactions
DharmarajX24commented, Jul 1, 2020

@smallbitt I had got the same error but it was on GCP Ubuntu VM.

https://medium.com/@cloverinks/how-to-fix-puppetteer-error-ibx11-xcb-so-1-on-ubuntu-152c336368

This fixes the issue but I doubt how will you use it on Heroku… you need access the command line.

1reaction
frinyvonnickcommented, Sep 16, 2020

I close this issue, feel free to reopen it if you have further information.

Read more comments on GitHub >

github_iconTop Results From Across the Web

error :while loading shared libraries: libX11-xcb.so.1: cannot ...
I have already installed vscode, but when I want to open it, there was a problem. I can't find this file, it likes...
Read more >
How to fix puppetteer error while loading shared libraries ...
1 : cannot open shared object file: No such file or directory. Problem: You are trying to run puppetteer on Ubuntu, but when...
Read more >
[SOLVED]error while loading shared libraries: libX11-xcb.so.1
First command ran successfully But got error for second command. ... libX11-xcb.so.1: cannot open shared object file: No such file or ...
Read more >
1 Answer - 1 - Stack Overflow
code: error while loading shared libraries: libX11-xcb.so.1: cannot open shared object file: No such file or directory.
Read more >
How to fix Puppeteer error libX11-xcb.so.1 missing?
How to fix 'error while loading shared libraries: libX11-xcb.so.1: cannot open shared object file: No such file or directory' with ...
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