ant-design / ant-design/ant-design-pro-cli

RequestError: self signed certificate in certificate chain

Open
#124 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
262
Forks
42
PR merge metrics
No merged PRs in 30d

Description

执行pro new时报“Failed to download repo https://github.com/ant-design/ant-design-pro#master RequestError: self signed certificate in certificate chain”
···
PS D:\Develop\my-project-cli> pro new
? input project name: my-ant-design-pro
? which directory do you want to init to ? (default is current directory ./):
Failed to download repo https://github.com/ant-design/ant-design-pro#master RequestError: self signed certificate in certificate chain
···
npm和yarn的·strict-ssl=false·都已经设置了
![image](https://github.com/ant-design/ant-design-pro-cli/assets/31803337/9d0c2edc-b921-41cd-9a44-6ea7345b299d)

还有其他那里需要设置有问题??

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the `pro new` command on Windows PowerShell and reproduce the failure while it downloads https://github.com/ant-design/ant-design-pro#master. Check how this repository download path handles certificate validation and whether npm or yarn `strict-ssl=false` affects it. No source file or test is named; done when the cause and required configuration or fix are verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.