svenkatreddy / puppeteer-loadtest

load test puppeteer (Headless Chrome API) script using node
Apache License 2.0
119 stars 21 forks source link

ERROR: Failed to download Chromium r549031! Set "PUPPETEER_SKIP_CHROMIUM_DOWNLOAD" env variable to skip download. #2

Open T0T4R4 opened 6 years ago

T0T4R4 commented 6 years ago

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 6 years ago

@T0T4R4 Thanks for the information. Were your scripts working as expected after that ?

T0T4R4 commented 6 years ago

Yes I think so :D

dextermb commented 5 years ago

@T0T4R4 you need chromium to be installed to run puppeteer.

T0T4R4 commented 5 years ago

@dextermb the error came up probably because Chromium was already installed.

wmedali commented 5 years ago

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