Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nodejs sdk配置代理问题 #4453

Open
zonezyz opened this issue May 14, 2024 · 0 comments
Open

nodejs sdk配置代理问题 #4453

zonezyz opened this issue May 14, 2024 · 0 comments
Labels

Comments

@zonezyz
Copy link

zonezyz commented May 14, 2024

在安装依赖项,设置好淘宝的nmp代理后,遇到了如下问题
npm ERR: request to https://registry.npm.taobao.org failed, reason: certificate has expired

问题分析: 淘宝 NPM 镜像站早就切换新域名 ,老 npm.taobao.org 和 registry.npm.taobao.org 域名将于 2022 年 05 月 31 日零时起停止服务,而 npm.taobao.org 这个网站的证书已于 2024年01月22日过期了。这也就是为啥request to https://registry.npm.taobao.org failed, reason: certificate has expired

解决方法:
使用正确的镜像源,npm config set registry https://registry.npmmirror.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants