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

【vercel部署失败】出现Error: Command "yarn install" exited with 1 - certificate has expired #3078

Open
Panda-Z-Coding opened this issue Dec 22, 2024 · 3 comments
Assignees
Labels
help wanted Extra attention is needed resolved

Comments

@Panda-Z-Coding
Copy link

描述遇到的问题
vercel部署失败

相应配置
相关的配置,例如notion_page_id;你的网站地址

截图
error An unexpected error occurred: "https://r2.cnpmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz: certificate has expired".
info If you think this is a bug, please open a bug report with the information provided in "/vercel/path0/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Error: Command "yarn install" exited with 1

环境

  • 操作系统: [windows]
  • 浏览器 [edge]
  • 版本 [e.g. 22]
@Panda-Z-Coding
Copy link
Author

image

@BWmot
Copy link

BWmot commented Dec 24, 2024

证书过期问题,得在部署的时候能够使用官方 npm registry
"Environment Variables"下加一个新环境变量
Key: NPM_CONFIG_REGISTRY
Value: https://registry.npmjs.org/

@tangly1024 tangly1024 changed the title vercel部署出现Error: Command "yarn install" exited with 1 【vercel部署失败】出现Error: Command "yarn install" exited with 1 - certificate has expired Dec 27, 2024
@tangly1024 tangly1024 added the help wanted Extra attention is needed label Dec 27, 2024
@tangly1024
Copy link
Owner

感谢回答,另外,更新一下代码,新版中,已经切换成官方registry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed resolved
Projects
None yet
Development

No branches or pull requests

3 participants