Skip to content
This repository was archived by the owner on Mar 18, 2026. It is now read-only.

NPM git Auth Fail #2860

@TheProdigyLeague

Description

@TheProdigyLeague

好的,这是您提供的文本的中文翻译:

#2857 #2858 #2859

发生了什么?

此工单🎟️涉及在Wepy项目🛠️的构建过程中遇到的两个独立但相互关联的问题。第一个问题是来自npm📦的证书过期错误,第二个是在尝试通过git🔗链接包时出现的身份验证失败。

重现步骤

  1. 运行构建脚本 npm install, npm link
  2. 确保NPM已配置 https://registry.npm.taobao.org
  3. 出现了 CERT_HAS_EXPIRED 错误。

NPM 证书过期

该错误⚠️表明该注册表🌐的SSL/TLS证书🔒已过期⌛。这阻止了像 write-pkg-3.2.0.tgz 这样的包📦被下载⬇️。

预期行为

从特定注册表发出的命令后,能无缝下载。

实际行为

命令失败,并显示 npm ERR! code CERT_HAS_EXPIRED


Git 身份验证失败

发生了什么?

当尝试运行将本地包📦链接🔗到 wepy 项目的构建脚本 npm link packages/cli 时,触发了git操作,并导致远程仓库失败❌,出现 Permission Denied (publickey) error。系统没有公钥🔑。

重现步骤

  1. 导航到项目目录 /home/qenmity/AndroidStudioProjects/openapi_pyGlobalSpec/openapi-python-sdk/10cent/wepy
  2. 运行 npm link packages/cli
  3. 出现公钥错误。

预期行为

npm link 成功运行一个符号链接。(应正确进行身份验证)。

实际行为

出现一个错误。

附加信息

1756496869362 Error Sequencer [4] Timeout in transmission from static.www.tencent.com
1756496690321 Error Sequencer [4] Communication error: static.www.tencent.com
1756496689478 Info Logger Discarded log entry larger than Logger memory limit

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions