npm ERR! code CERT_HAS_EXPIRED
npm ERR! errno CERT_HAS_EXPIRED
npm ERR! request to https://registry.npm.taobao.org/yarn failed, reason: certificate has expired npm ERR! A complete log of this run can be found in: npm ERR! D:\Program Files\nodejs\node_cache\_logs\2024-03-24T11_00_01_196Z-debug.log
爆出这个问题可以使用yarn config set strict-ssl false命令不使用SSL连接(先执行npm install -g yarn --registry=https://registry.npm.taobao.org安装yarn并且设置为淘宝镜像)