magesuite / magepack

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

Generate doesn't work with ARM/Graviton server #176

Open JamesFX2 opened 1 year ago

JamesFX2 commented 1 year ago

We use an ARM Graviton server and there's issues with Puppeteer and ARM. We've been able to pass in

                              puppeteer.launch({
                                    executablePath: '/usr/bin/chromium',
                                    args: ['--disable-gpu']
                                })

For other scripts that use Puppeteer, where /usr/bin/chromium is the path to an instance.

Is there any way of adding this as a config parameter in generate.js please?

JamesFX2 commented 1 year ago

Got the above from https://github.com/puppeteer/puppeteer/issues/550#issuecomment-331509678