npm install vue3-print-nb --legacy-peer-deps
npm ERR! code CERT_HAS_EXPIRED
npm ERR! errno CERT_HAS_EXPIRED
npm ERR! request to https://registry.npm.taobao.org/vue3-print-nb failed, reason: certificate has expired
npm ERR! A complete log of this run can be found in: C:\Users\admin\AppData\Local\npm-cache_logs\2024-01-22T04_35_33_436Z-debug-0.log
解决方法:
- npm cache clean --force
- npm config set strict-ssl false
- npm install
即安装成功