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

magepack generate is hanging and on debug showing error #144

Open
ishaqdahot opened this issue Jun 19, 2022 · 2 comments
Open

magepack generate is hanging and on debug showing error #144

ishaqdahot opened this issue Jun 19, 2022 · 2 comments

Comments

@ishaqdahot
Copy link

ishaqdahot commented Jun 19, 2022

On Magento 2.4.3-p2 with all required extensions installed as required by puppeteer but it is showing an error.

ERROR  Failed to launch the browser process!                                                                                       15:17:39
[3317520:3317520:0619/151739.394395:ERROR:browser_main_loop.cc(1512)] Unable to open X display.


TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/master/docs/troubleshooting.md


  [3317520:3317520:0619/151739.394395:ERROR:browser_main_loop.cc(1512)] Unable to open X display.


  TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/master/docs/troubleshooting.md

  at onClose (/usr/lib/node_modules/magepack/node_modules/puppeteer/lib/Launcher.js:750:14)
  at ChildProcess.<anonymous> (/usr/lib/node_modules/magepack/node_modules/puppeteer/lib/Launcher.js:740:61)
  at ChildProcess.emit (node:events:538:35)
  at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)

I have checked which dependencies are missing through
ldd /usr/lib/node_modules/magepack/node_modules/puppeteer/.local-chromium/linux-722234/chrome-linux/chrome | grep not
and there is no outup means all are installed.

What may be the reason?

I am using Ubuntu and there are no errors in the browser console also.

@deedy-tech
Copy link

@ishaqdahot - Did you find out what was causing the issue as I am hitting the same problem on Magento 2.4.4-p2

@petarBozovic
Copy link

I'm having this same issue. anyone out theree

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

3 participants