DesertCoderz

Disable Puppeteer download on Shopware 6 JavaScript Build Process

You want to get rid of the Puppeteer download on Shopware’s build-storefront and build-administration scripts? The Solution is simple: Just add the following line to your .env file in your projects root directory, like this!

PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true

The advantage of this method is, you can set this behavior per project and don’t need to disable it shell wide for all your projects. Just in case you want to disable the puppeteer Chromium Download once and forever, you can export the PUPPETEER_SKIP_CHROMIUM_DOWNLOAD variable with a prepended export statement, like this:

export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1

You have to place this line in your Linux-User’s folder’s file .bash_profile with your favorite editor.

Share:

Facebook
LinkedIn
WhatsApp

Leave a Reply

Your email address will not be published. Required fields are marked *

Most Popular

Get The Latest Updates

Subscribe To Our Weekly Newsletter

No spam, notifications only about new products, updates.

Categories

On Key

Related Posts