ERROR: Failed to download Chromium r549031! Set "PUPPETEER_SKIP_CHROMIUM_DOWNLOAD" env variable to skip download.
T0T4R4 opened this issue · 5 comments
T0T4R4 commented
Just FYI for everyone I had the following error when trying to install puppeteer-loadtest globally :
ERROR: Failed to download Chromium r549031! Set "PUPPETEER_SKIP_CHROMIUM_DOWNLOAD" env variable to skip download.
The solution I found was to set the flag right before running the npm command, like this :
echo "export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true && npm install -g puppeteer" | sudo sh
svenkatreddy commented
@T0T4R4 Thanks for the information.
Were your scripts working as expected after that ?
T0T4R4 commented
Yes I think so :D
wmedali commented
I had the same issue, it was due to proxy settings of the company, I ended up disabling proxy and installing with my own internet connection and it was downloaded & installed correctly