报错内容
yarn install v1.22.21
[1/4] Resolving packages…
[2/4] Fetching packages…
error Error: certificate has expired
at TLSSocket.onConnectSecure (_tls_wrap.js:1514:34)
at TLSSocket.emit (events.js:400:28)
at TLSSocket._finishInit (_tls_wrap.js:936:8)
at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:708:12)
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
解决
yarn config set strict-ssl false