XXX cloud-service-catalog % yarn install
yarn install v1.22.18
info No lockfile found.
[1/5] Validating package.json...
[2/5] Resolving packages...
error An unexpected error occurred: "https://XXX: self signed certificate in certificate chain".
info If you think this is a bug, please open a bug report with the information provided in "/Users/XXX/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
我们通过执行下面代码来取消npm的https认证,
npm set strict-ssl false
yarn config set "strict-ssl" false -g
欢迎大家指出文章需要改正之处~
学无止境,合作共赢