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

'Unable to get local issuer certificate' when starting #5085

Open
FaridunTurdiev opened this issue Mar 26, 2024 · 0 comments
Open

'Unable to get local issuer certificate' when starting #5085

FaridunTurdiev opened this issue Mar 26, 2024 · 0 comments
Labels

Comments

@FaridunTurdiev
Copy link

FaridunTurdiev commented Mar 26, 2024

2024-03-26_08-46-34
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

@ionitron-bot ionitron-bot bot added the triage label Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant