yarn npm 镜像源 https://registry.npm.taobao.org/axios: certificate has expired“

参考链接

error An unexpected error occurred: “https://registry.npm.taobao.org/axios: certificate has expired”

原因: 淘宝镜像原地址2024年1月22日已过期

npm 切换镜像源

npm config set registry https://registry.npmmirror.com
//其他
npm 官方原始镜像网址是:https://registry.npmjs.org/
淘宝最新 NPM 镜像:https://registry.npmmirror.com
阿里云 NPM 镜像:https://npm.aliyun.com
腾讯云 NPM 镜像:https://mirrors.cloud.tencent.com/npm/
华为云 NPM 镜像:https://mirrors.huaweicloud.com/repository/npm/
网易 NPM 镜像:https://mirrors.163.com/npm/
中科院大学开源镜像站:http://mirrors.ustc.edu.cn/
清华大学开源镜像站:https://mirrors.tuna.tsinghua.edu.cn/
腾讯,华为,阿里的镜像站基本上比较全

yarn 切换镜像源
查看当前镜像源
yarn config get registry 如果是淘宝,则切换

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

相关推荐

  1. docker 切换镜像

    2024-01-27 06:04:08       50 阅读
  2. node设置镜像

    2024-01-27 06:04:08       61 阅读
  3. Go配置镜像

    2024-01-27 06:04:08       70 阅读
  4. 配置yum镜像

    2024-01-27 06:04:08       46 阅读
  5. npm的镜像

    2024-01-27 06:04:08       49 阅读
  6. npm镜像地址

    2024-01-27 06:04:08       50 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-01-27 06:04:08       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-01-27 06:04:08       100 阅读
  3. 在Django里面运行非项目文件

    2024-01-27 06:04:08       82 阅读
  4. Python语言-面向对象

    2024-01-27 06:04:08       91 阅读

热门阅读

  1. 【数据库】GaussDB数据类型和简单DDL概述

    2024-01-27 06:04:08       44 阅读
  2. 大语言模型分布式训练技术原理

    2024-01-27 06:04:08       49 阅读
  3. python 调用SumatraPDF 静默打印PDF

    2024-01-27 06:04:08       54 阅读
  4. 前端框架 - htmx

    2024-01-27 06:04:08       43 阅读
  5. SpringBoot获取用户的ip地址信息

    2024-01-27 06:04:08       62 阅读
  6. SQL - 数据定义语句

    2024-01-27 06:04:08       49 阅读
  7. Git初识

    Git初识

    2024-01-27 06:04:08      55 阅读
  8. 2024年1月29日 晨会汇报

    2024-01-27 06:04:08       49 阅读
  9. 达梦表空间不足解决办法

    2024-01-27 06:04:08       60 阅读
  10. 代码随想录day24

    2024-01-27 06:04:08       37 阅读
  11. 前端学习-0125

    2024-01-27 06:04:08       34 阅读