npm ERR! code CERT_HAS_EXPIRED
npm ERR! errno CERT_HAS_EXPIRED
npm ERR! request to https://registry.npm.taobao.org/ol failed, reason: certificate has expired
npm ERR! A complete log of this run can be found in:
npm ERR! D:\npm\node_cache\_logs\2024-01-26T08_16_48_619Z-debug.log
解决办法:
npm cache clean --force
npm config set strict-ssl false
即安装成功