logo desertcoderz

Disable Puppeteer download on Shopware 6 JavaScript Build Process

Get rid of Puppeteer downloads

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
You are a developer and looking for Shopware projects?
We hire

Table of Contents

On Key
Related Posts

What are Structs in Shopware 6 for?

Structs in Shopware 6 are part of its programming architecture, specifically designed for data handling. Here’s a detailed overview of their purpose and functionality:

PhpStorm at full CPU-load with JS file opened

Today my PhpStorm was running with full CPU load even after indexing all the Shopware 6 Project files and I couldn’t solve the problem only after quite some time of trying things and some research. I