error Error: certificate has expired
at TLSSocket. onConnectSecure (node:_tls_wrap:1674:34)
at TLSSocket. emit (node:events:519:28)
at TLSSocket. _finishInit (node:_tls_wrap:1085:8)
at ssl. onhandshakedone (node:_tls_wrap:871:12)
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
更新了yarn,node,换了源,仍旧不行,只能禁用证书验证
yarn config set strict-ssl false