Skip to content
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

Not working on Almalinux 9, without GUI. #594

Open
dstorozhuk opened this issue Apr 23, 2024 · 1 comment
Open

Not working on Almalinux 9, without GUI. #594

dstorozhuk opened this issue Apr 23, 2024 · 1 comment

Comments

@dstorozhuk
Copy link

 critical https://example.com --base public/css > public/css/critical/about-us.css --width 415 --height 1800
   Error: Failed to launch the browser process!
   /home/user/.nvm/versions/node/v18.20.2/lib/node_modules/critical/node_modules/puppeteer/.local-chromium/linux-722234/chrome-linux/chrome: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory

Is that suppose to work only with linux with GUI?
Does it need special setup for linux in with just a CLI interface?

@bezoerb
Copy link
Collaborator

bezoerb commented Apr 28, 2024

Hey @dstorozhuk,
puppeteer needs some additional dependencies. You can take a look at this Dockerfile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants