Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to set up Chromium #1504

Open
sreeram1985 opened this issue Oct 3, 2023 · 1 comment
Open

Failed to set up Chromium #1504

sreeram1985 opened this issue Oct 3, 2023 · 1 comment

Comments

@sreeram1985
Copy link

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! }

@sreeram1985
Copy link
Author

Hi @garris
Can you please help on above. Any pointers on how to resolve the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant