BackstopJS
BackstopJS copied to clipboard
Failed to set up Chromium
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! }
Hi @garris Can you please help on above. Any pointers on how to resolve the issue.