error while loading shared libraries: libX11-xcb.so.1: cannot open shared object file: No such file or directory
See original GitHub issueHi, 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:
- Created 3 years ago
- Reactions:4
- Comments:15 (7 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@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.
I close this issue, feel free to reopen it if you have further information.