C:\Users\xgglr147258>npm install -g @vue/cli
npm ERR! code CERT_HAS_EXPIRED
npm ERR! errno CERT_HAS_EXPIRED
npm ERR! request to https://registry.npm.taobao.org/@vue%2fcli failed, reason: certificate has expired
npm ERR! A complete log of this run can be found in: D:\node\cache_logs\2024-03-03T14_22_59_899Z-debug-0.log
解决方法:
https://wenku.youkuaiyun.com/answer/4c393d43087ab65403020ac148b8ad1b