garris / garris/BackstopJS

Failed to set up Chromium

Open
#1,504 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.2k
Forks
621
PR merge metrics
No merged PRs in 30d

Description

code 1

npm ERR! path /usr/local/lib/node_modules/backstopjs/node_modules/puppeteer

When running the backstopjs installation command, following error is encountered. If I update the env variable to skip download then the installation completes successfully. But, the backstop commands does not run as chromium is not available.

Please assist on how to resolve the error

npm ERR! command failed

npm ERR! command sh -c node install.js

npm ERR! ERROR: Failed to set up Chromium r1108766! Set "PUPPETEER_SKIP_DOWNLOAD" env variable to skip download.

npm ERR! Error: self-signed certificate in certificate chain

npm ERR! at TLSSocket.onConnectSecure (node:_tls_wrap:1659:34)

npm ERR! at TLSSocket.emit (node:events:514:28)

npm ERR! at TLSSocket._finishInit (node:_tls_wrap:1070:8)

npm ERR! at ssl.onhandshakedone (node:_tls_wrap:856:12) {

npm ERR! code: 'SELF_SIGNED_CERT_IN_CHAIN'

npm ERR! }

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.