magesuite / magepack

Next generation Magento 2 advanced JavaScript bundler.
Open Software License 3.0
431 stars 93 forks source link

magepack generate is hanging and on debug showing error #144

Open ishaqdahot opened 2 years ago

ishaqdahot commented 2 years ago

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 commented 1 year ago

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

petarBozovic commented 1 year ago

I'm having this same issue. anyone out theree