ionic-team / ionic-team/ionic-cli

'Unable to get local issuer certificate' when starting

Đang mở
#5,085 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
triage
Ngôn ngữ chính
TypeScript
Star
2k
Fork
682
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

![2024-03-26_08-46-34](https://github.com/ionic-team/ionic-cli/assets/114400301/1f582783-5aa6-4fb1-9b95-5b11e37bbf2e)
**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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.