按文档配置 两个仓库切到了3.8.2分支
npm install 时报错:
npm ERR! code CERT_HAS_EXPIRED
npm ERR! errno CERT_HAS_EXPIRED
npm ERR! request to https://registry.npm.taobao.org/yargs/download/yargs-12.0.5.tgz?cache=0&sync_timestamp=1583129847322&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fyargs%2Fdownload%2Fyargs-12.0.5.tgz failed, reason: certificate has expired
你这个npm源不行
怎么改?我这是好像是拉下来默认的?
淘宝这个源证书过期了吧,真恶心,这公司的东西没几个能用到最后的,,
谢谢楼上 解决了
原域名 registry.npm.taobao.org 证书过期了
只要把3.8.3或3.8.4分支上的这个提交:
Update taobao npm url by dumganhar · Pull Request #16700 · cocos/cocos-engine (github.com)
手动 Cherry-pick 进3.8.2分支 即可