BackstopJS: Failed to download Chromium r555668

I went to upgrade BackstopJS from 3.1.21 to 3.2.16 but am getting errors.

ERROR: Failed to download Chromium r555668! Set "PUPPETEER_SKIP_CHROMIUM_DOWNLOAD" env variable to skip download.
{ Error: self signed certificate in certificate chain

At this point, it seems to be an issue with NPM & Yarn although I could be wrong. It’s preventing me from using puppeteer so I thought I’d see if there is a current solution.

I’ve tried multiple versions of NPM (5.7.1, 5.8.0), and Yarn (1.5.1, 1.6.0) but without success.

I’ve tried turning off SSL with

yarn config set strict-ssl false

… but that didn’t work.

Is there a page that will let me manually download it? And if so, which files are needed and where?

OS: Win10 x64 NPM: 5.7.1, 5.8.0 YARN: 1.5.1, 1.6.0

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 17 (6 by maintainers)

Most upvoted comments

OK … seems binaries can be manually downloaded here

https://storage.googleapis.com/chromium-browser-snapshots/Win_x64/%VERSION%/chrome-win32.zip

where %VERSION% => 555668

@aliu145, no. I wasn’t sure what to do it with. I went with temporarily adding a new script command in my package.json

    "scripts": {
...
        "bypass": "cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 yarn upgrade backstopjs",
...
}

Running this command ( yarn bypass), allowed me to install it. Then I removed the command since NODE_TLS_REJECT_UNAUTHORIZED=0 basically turns off protection.

  • Note, I have cross-env installed globally, so you will need to install it if you don’t have it already.