V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
smallgoogle
V2EX  ›  问与答

淘宝的 npm 到期了。

  •  
  •   smallgoogle · Feb 1, 2024 · 1772 views
    This topic created in 823 days ago, the information mentioned may be changed or developed.
    淘宝的 https://npm.taobao.org/ 证书到期了好像是。你们咋处理的。
    5 replies    2024-02-02 09:36:55 +08:00
    JingKeWu
        1
    JingKeWu  
       Feb 1, 2024
    TaurusXin
        2
    TaurusXin  
       Feb 1, 2024
    淘宝早就换成 https://npmmirror.com/
    smallgoogle
        3
    smallgoogle  
    OP
       Feb 1, 2024
    切换新的镜像地址
    如果你使用淘宝命令工具 cnpm ,则不需要去手动更新镜像地址,官方已自动做了处理。
    如果你是将 npm 官方镜像改成了淘宝镜像,则需要按下面步骤去手动更新。

    清空缓存
    npm cache clean --force

    切换新源
    npm config set registry https://registry.npmmirror.com
    94
        4
    94  
       Feb 2, 2024
    一个个都不关注一下的么……换域名的事情已经过去多久了……

    [ [望周知] 淘宝 NPM 镜像站喊你切换新域名啦 - 知乎]( https://zhuanlan.zhihu.com/p/430580607)
    - 发布于 2021-11-07 23:48
    alect
        5
    alect  
       Feb 2, 2024
    换域名了,https://npmmirror.com/
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   999 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 23:49 · PVG 07:49 · LAX 16:49 · JFK 19:49
    ♥ Do have faith in what you're doing.