'Unable to get local issuer certificate' when starting
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- node.js, typescript
- 领域
- cli, networking
调研方向
从下载并解压 tabs starter 的 ionic start 路径开始,然后检查发送到 https://d2ql0qc7j8u4b2.cloudfront.net/angular-official-tabs.tar.gz 的 superagent 请求。在 Windows 上使用 Node.js 20 重现 UNABLE_TO_GET_ISSUER_CERT_LOCALLY 错误。当 starter 下载正常工作,或 CLI 报告一个可采取措施解决的证书配置问题时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
Description:
This is my first time using Ionic and i have tried to start with the "photo-gallery" project which is provided in official webpage of ionic. But, unfortunately not being able to start the project
Steps to Reproduce:
ionic start photo-gallery tabs --type=angular --capacitor
Output:
ionic start photo-gallery tabs --type=angular --capacitor --verbose
ionic:lib Terminal info: { ci: false, shell: 'C:\WINDOWS\system32\cmd.exe', tty: true, windows: true } +0ms
ionic:lib CLI global options: { _: [ 'start', 'photo-gallery', 'tabs' ], help: null, h: null, verbose: true, quiet: null, interactive: true, color: true, confirm: null, json: null, type: 'angular', capacitor: true, project: null, '--': [] } +2ms
ionic Context: { binPath: 'C:\Users\faridun.turdiev\AppData\Roaming\npm\node_modules\@ionic\cli\bin\ionic', libPath: 'C:\Users\faridun.turdiev\AppData\Roaming\npm\node_modules\@ionic\cli', execPath: 'C:\Users\faridun.turdiev\Here\Programming\Angular\IonicAngular', version: '7.2.0' } +0ms
? Would you like to build your app with NgModules or Standalone Components?
Standalone components are a new way to build with Angular that simplifies the way you build your app.
To learn more, visit the Angular docs:
https://angular.io/guide/standalone-components
NgModules
? .\photo-gallery exists. Overwrite? Yes
ionic:lib:telemetry Sending telemetry for command: 'ionic start' [
ionic:lib:telemetry 'photo-gallery',
ionic:lib:telemetry 'tabs',
ionic:lib:telemetry '--capacitor',
ionic:lib:telemetry '--verbose',
ionic:lib:telemetry '--interactive',
ionic:lib:telemetry '--color',
ionic:lib:telemetry '--type=angular',
ionic:lib:telemetry '--project-id=photo-gallery'
ionic:lib:telemetry ] +0ms
√ Preparing directory .\photo-gallery in 3.15ms
ionic:commands:start Tar extraction created for C:\Users\faridun.turdiev\Here\Programming\Angular\IonicAngular\photo-gallery +0ms
superagent GET https://d2ql0qc7j8u4b2.cloudfront.net/angular-official-tabs.tar.gz +0ms
| Downloading and extracting tabs starter Error: unable to get local issuer certificate
at TLSSocket.onConnectSecure (node:_tls_wrap:1674:34)
at TLSSocket.emit (node:events:518:28)
at TLSSocket._finishInit (node:_tls_wrap:1085:8)
at ssl.onhandshakedone (node:_tls_wrap:871:12) {
code: 'UNABLE_TO_GET_ISSUER_CERT_LOCALLY',
response: undefined
}
/ Downloading and extracting tabs starter
My ionic info:
Ionic:
Ionic CLI : 7.2.0
Utility:
cordova-res : 0.15.4
native-run : 2.0.1
System:
NodeJS : v20.11.1
npm : 10.2.4
OS : Windows 10
Other Information:
I have tried to reinstall node, angular cli and ionic cli, but it did not work for me
- 主要语言
- TypeScript
- 星标
- 2k
- 派生
- 681
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ionic-team/ionic-cli 的其他 Issue
-
triage
难度 1/5 1 小时以内 新手友好度 65/100
ionic-team/ionic-cli#5016 ·
-
triage
难度 5/5 一周以上 新手友好度 15/100
ionic-team/ionic-cli#5131 ·
-
triage
难度 3/5 1-2 天 新手友好度 56/100
ionic-team/ionic-cli#5130 ·
-
triage
难度 3/5 1-2 天 新手友好度 72/100
ionic-team/ionic-cli#5129 ·
-
triage
难度 3/5 1-2 天 新手友好度 42/100
ionic-team/ionic-cli#5127 · 2 条评论 ·
查看 ionic-team/ionic-cli 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
external-issue to-triage
难度 1/5 1 小时以内 新手友好度 90/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
diegosouzapw/OmniRoute#15401 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 86/100
code-yeongyu/oh-my-openagent#9454 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
smart-village-solutions/sva-studio#1654 ·
维护者通常 1 天内回复