https://registry.npm.taobao.org/to-fast-properties/download/to-fast-properties-2.0.0.tgz failed, reason: certificate has expired

1. 切换到新的、正常的淘宝镜像(无证书过期)

npm config set registry https://registry.npmmirror.com/

2. 关闭 npm 严格 ssl 验证(解决证书报错)

npm config set strict-ssl false
再执行
npm install --legacy-peer-deps

posted @ 2026-04-01 09:20  jialiangzai  阅读(22)  评论(0)    收藏  举报