browserstack/browserstack-local-nodejs

YARN macOs: An unexpected error occurred: self-signed certificate in certificate chain

Opened this issue · 1 comments

Issue when installing dependency on macOs Ventura 13.2.1
Screenshot 2023-04-24 at 9 23 29 AM

Expected Behavior

package installed.

Actual Behavior

error An unexpected error occurred: "https://registry.npmjs.org/browserstack-local: self-signed certificate in certificate chain".

Steps to Reproduce the Problem

  1. have the browserstack-local in package.json
  2. yarn install

browserstack local arguments

Platform details

  1. browserstack-local-nodejs version: ^1.5.1
  2. node version: v18.13.0
  3. os type and version: macOs Ventura 13.2.1

Details

when yarn install on package.json typescript repository, then:

error An unexpected error occurred: "https://registry.npmjs.org/browserstack-local: self-signed certificate in certificate chain".

Can you try deleting the node_modules folder and re-install the local binary?