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

yarn add @antv/x6 时报错,提示“证书过期”? #4178

Closed
Aolcycle opened this issue Jan 24, 2024 · 2 comments
Closed

yarn add @antv/x6 时报错,提示“证书过期”? #4178

Aolcycle opened this issue Jan 24, 2024 · 2 comments
Labels
type: discussion 讨论 Usage questions, guidance, and other discussions

Comments

@Aolcycle
Copy link

问题描述

yarn add v1.22.19
warning package.json: License should be a valid SPDX license expression
warning [email protected]: License should be a valid SPDX license expression
[1/6] Validating package.json...
warning [email protected]: License should be a valid SPDX license expression
[2/6] Resolving packages...
error An unexpected error occurred: "https://registry.npm.taobao.org/@antv%2fx6-plugin-dnd: certificate has expired".
info If you think this is a bug, please open a bug report with the information provided in "@.log".
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

重现链接

yarn add @antv/x6

重现步骤

新建vue项目
add x6
报错

预期行为

xx

平台

  • 操作系统: [Windows]
  • X6 版本: [2.x.]
  • nodeJS版本: [18.16.0]

屏幕截图或视频(可选)

No response

补充说明(可选)

No response

@gdutwyg
Copy link

gdutwyg commented Jan 25, 2024

我也遇到了,然后我换回官方源,我用的yarn。

@CasoMemory
Copy link

taobao.org 域名很久之前就通知说不维护了,配置下 registry 就行了。https://npmmirror.com/

@NewByVector NewByVector added the type: discussion 讨论 Usage questions, guidance, and other discussions label Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: discussion 讨论 Usage questions, guidance, and other discussions
Projects
None yet
Development

No branches or pull requests

4 participants