Skip to content

Error generating Critical CSS #21

Description

@julianne49

Hello - I am trying to get this working but have run into some problems. When running the command "bin/magento m2bp:critical-css:generate" there is a lot that goes on the CLI but no critical css file is generated & there are errors. One such error shown on the screen: "Error Output: ================ Error: Failed to launch the browser process!
public_html/example.com/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 TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/master/docs/troubleshooting.md"

If anyone can tell from the above what might be the issue - Pleas help.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions